Artifact 450ed8492b949db1d3338716d9c9ae509534c260:
- File canvas-draw/racket/cgm.rkt — part of check-in [ed10f826ff] at 2011-01-30 17:39:09 on branch trunk — Re-ran configure in ffcall and imported canvas-draw source (user: matt, size: 311) [annotate] [blame] [check-ins using]
#lang racket/base (require ffi/unsafe "base.rkt") (define libcd (case (system-type 'os) [(windows) (ffi-lib "cd")] [else (ffi-lib "libcd")])) ;; {{{ Context types (define context:cgm ((get-ffi-obj "cdContextCGM" libcd (_fun -> [context : _context])))) (provide context:cgm) ;; }}}