File canvas-draw/racket/debug.rkt artifact e12561359f part of check-in 432c02a937


#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:debug
  ((get-ffi-obj "cdContextDebug" libcd (_fun -> [context : _context]))))

(provide
 context:debug)

;; }}}