File canvas-draw/racket/printer.rkt artifact 5a4515ba82 part of check-in 432c02a937
#lang racket/base (require ffi/unsafe "base.rkt") (define libcd-native (case (system-type 'os) [(unix macosx) (ffi-lib "libcdx11")] [(windows) (ffi-lib "cd")] [else (ffi-lib "libcd")])) ;; {{{ Context types (define context:printer ((get-ffi-obj "cdContextPrinter" libcd-native (_fun -> [context : _context])))) (provide context:printer) ;; }}}