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