Created
June 18, 2010 12:33
-
-
Save outworlder/443585 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(define-foreign-type unsigned-int8 unsigned-byte) | |
(define-syntax c-lambda | |
(syntax-rules () | |
([_ (arg ...) return-type name] (foreign-lambda return-type name arg ...)))) | |
(define-syntax c-define-type | |
(syntax-rules () | |
([_ name type] (define-foreign-type name type)))) | |
(define-syntax c-declare | |
(syntax-rules () | |
([_ string] (foreign-declare string)))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment