(guile.info.gz) GH
Info Catalog
(guile.info.gz) Data Representation
(guile.info.gz) Top
(guile.info.gz) Reference Intro
19 GH: A Portable C to Scheme Interface
***************************************
This chapter shows how to use the GH interface to call Guile from your
application's C code, and to add new Scheme level procedures to Guile
whose behaviour is specified by application specific code written in C.
Note, however, that the GH interface is now deprecated, and
developers are encouraged to switch to using the scm interface instead.
Therefore, for each GH feature, this chapter should also document how
to achieve the same result using the scm interface.
Menu
* GH deprecation Why the GH interface is now deprecated.
* gh preliminaries
* Data types and constants defined by gh
* Starting and controlling the interpreter
* Error messages
* Executing Scheme code
* Defining new Scheme procedures in C
* Converting data between C and Scheme
* Type predicates
* Equality predicates
* Memory allocation and garbage collection
* Calling Scheme procedures from C
* Mixing gh and scm APIs
* scm transition summary
Info Catalog
(guile.info.gz) Data Representation
(guile.info.gz) Top
(guile.info.gz) Reference Intro
automatically generated byinfo2html