[plt-scheme] Writing Extensions

From: Edwin Zacharias (ehz4 at yahoo.com)
Date: Fri Apr 11 21:39:18 EDT 2003

I'm working do a wrapper for the BerkeleyDB and I have a few questions about
writing mzscheme extensions.  Here they are:

1. How do I return multiple values from a primitive?

2. How do I make sure things are garbage collected when (exit) is called?  The
databases need to close nicely to sync to the disk and right now they don't.

3. What is the cleanest way to wrap a C function that has a lot of flags and
optional arguments?

4. What do I do with errors that happen in a garbage collection finalization?

If you want to check out a beta, it's available at:



Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more

Posted on the users mailing list.