;; {{{ Data types (foreign-declare "#include \n" "#include \n") (include "iup-types.scm") ;; }}} ;; {{{ Windows OLE control (define ole-control (make-constructor-procedure (foreign-lambda nonnull-ihandle "IupOleControl" nonnull-c-string))) ;; }}} ;; {{{ Library setup (let ([status (foreign-value "IupOleControlOpen()" istatus)]) (case status [(#t ignore) (void)] [else (error 'iup "failed to initialize library (~s)" status)])) ;; }}} ;; vim: set ai et ts=2 sts=2 sw=2: ;;