From a7ee7f7cbf1042cf9e4b4c4f3b28b6759ccbce4f Mon Sep 17 00:00:00 2001 From: Andy Wingo Date: Sun, 27 Apr 2014 14:47:40 +0200 Subject: 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 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libguile.h') diff --git a/libguile.h b/libguile.h index fefca435b..48548c393 100644 --- a/libguile.h +++ b/libguile.h @@ -1,7 +1,7 @@ #ifndef SCM_LIBGUILE_H #define SCM_LIBGUILE_H -/* Copyright (C) 1995,1996,1997,1998,2000,2001, 2002, 2003, 2004, 2006, 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc. +/* Copyright (C) 1995,1996,1997,1998,2000,2001, 2002, 2003, 2004, 2006, 2008, 2009, 2010, 2011, 2012, 2014 Free Software Foundation, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License @@ -52,6 +52,7 @@ extern "C" { #include "libguile/finalizers.h" #include "libguile/fluids.h" #include "libguile/foreign.h" +#include "libguile/foreign-object.h" #include "libguile/fports.h" #include "libguile/gc.h" #include "libguile/gdbint.h" -- cgit v1.2.3