Artifact fc8e7865424b549146a89d991b554fb0c558fd57:
- File canvas-draw/racket/ps.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: 308) [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:ps ((get-ffi-obj "cdContextPS" libcd (_fun -> [context : _context])))) (provide context:ps) ;; }}}