Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (define c_malloc
- (pointer->procedure size_t (dynamic-func "malloc" (dynamic-link)) (list size_t)))
- (define (malloc size)
- (make-pointer
- (c_malloc size)
- (dynamic-pointer "free" (dynamic-link))))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement