File racket/dgn.rkt artifact 0f7fe3de34 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:dgn
  ((get-ffi-obj "cdContextDGN" libcd (_fun -> [context : _context]))))

(provide
 context:dgn)

;; }}}