move foreign function interface to its own module
authorAndy Wingo <wingo@pobox.com>
Mon, 18 Jan 2010 11:16:13 +0000 (12:16 +0100)
committerAndy Wingo <wingo@pobox.com>
Tue, 26 Jan 2010 21:56:41 +0000 (22:56 +0100)
commitab4779ffcfb463201d46459e06b9188dd5f1cbda
tree9476b22f0bddf76ca18cdc0fc5017773a9b42b18
parent52fd9639fdeee068434342e1bdb8693b05ecac5c
move foreign function interface to its own module

* libguile/foreign.h:
* libguile/init.c: Change so that init just registers an extension,
  later called by foreign.scm.

* libguile/foreign.c (scm_init_foreign): Define constants for the
  various foreign types.

* module/Makefile.am:
* module/system/foreign.scm: New module, for the foreign function
  interface.
libguile/foreign.c
libguile/foreign.h
libguile/init.c
module/Makefile.am
module/system/foreign.scm [new file with mode: 0644]