File racket/svg.rkt artifact 36d0f855de part of check-in 33bf933593
#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:svg ((get-ffi-obj "cdContextSVG" libcd (_fun -> [context : _context])))) (provide context:svg) ;; }}}