SRFI 50: Mixing Scheme and C

by Richard Kelsey and Michael Sperber

status: withdrawn (2005-12-20)

keywords: Operating System

Abstract

This SRFI describes an interface for calling C functions from Scheme, calling Scheme functions from C, and allocating storage in the Scheme heap. Scheme manages stub functions in C that negotiate between the calling conventions of Scheme and C and the memory allocation policies of both worlds.

The following facilities are available for interfacing between Scheme and C:

The interface is closely based on that of Scheme 48 and scsh.