File canvas-draw/racket/printer.rkt artifact 5a4515ba82 part of check-in b89c5d2520
#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) ;; }}}