Is there a proper way to allocate memory for c extensions that will be compiled under both C and C++ versions of gambit?
In the Xlib example this is used:
(define (make-XColor-box) ((c-lambda () XColor* "___result_voidstar = ___EXT(___alloc_mem) (sizeof (XColor));")))
Should I do that for foreign objects/structs? What is the proper macro to free memory allocated this way?