New foreign object facility, to replace SMOBs
authorAndy Wingo <wingo@pobox.com>
Sun, 27 Apr 2014 12:47:40 +0000 (14:47 +0200)
committerAndy Wingo <wingo@pobox.com>
Mon, 28 Apr 2014 08:59:11 +0000 (10:59 +0200)
commita7ee7f7cbf1042cf9e4b4c4f3b28b6759ccbce4f
treeb69c4d2e9ceb614fed11eae17131b8a35bfcfd89
parent48ad85fb56bc022ac10f42cf07b5657d75b5b696
New foreign object facility, to replace SMOBs

* libguile/foreign-object.c:
* libguile/foreign-object.h:
* module/system/foreign-object.scm:
* test-suite/standalone/test-foreign-object-c.c:
* test-suite/standalone/test-foreign-object-scm: New files.

* test-suite/standalone/Makefile.am:
* module/Makefile.am:
* libguile/Makefile.am: Add new files.

* libguile.h: Add foreign-object.h.
* libguile/init.c (scm_i_init_guile): Call scm_register_foreign_object.
libguile.h
libguile/Makefile.am
libguile/foreign-object.c [new file with mode: 0644]
libguile/foreign-object.h [new file with mode: 0644]
libguile/init.c
module/Makefile.am
module/system/foreign-object.scm [new file with mode: 0644]
test-suite/standalone/Makefile.am
test-suite/standalone/test-foreign-object-c.c [new file with mode: 0644]
test-suite/standalone/test-foreign-object-scm [new file with mode: 0755]