Make guile test suite default to scm api
In other words guilescm becomes guile. Deprecated gh api tests are moved to guilegh.
This commit is contained in:
parent
e0e4a4db6d
commit
7dfe4a0653
7 changed files with 27 additions and 41 deletions
19
Examples/test-suite/guile_ext_test.i
Normal file
19
Examples/test-suite/guile_ext_test.i
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
%module guile_ext_test
|
||||
|
||||
/* just use the imports_a.h header... for this test we only need a class */
|
||||
%{
|
||||
#include "imports_a.h"
|
||||
%}
|
||||
|
||||
%include "imports_a.h"
|
||||
|
||||
%{
|
||||
SCM test_create();
|
||||
SCM test_is_pointer(SCM val);
|
||||
%}
|
||||
|
||||
%init %{
|
||||
scm_c_define_gsubr("test-create", 0, 0, 0, (swig_guile_proc) test_create);
|
||||
scm_c_define_gsubr("test-is-pointer", 1, 0, 0, (swig_guile_proc) test_is_pointer);
|
||||
%}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue