File canvas-draw/racket/emf.rkt artifact daeb9e090c part of check-in 8ca036fa3c
#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:emf ((get-ffi-obj "cdContextEMF" libcd (_fun -> [context : _context])))) (provide context:emf) ;; }}}