From: Terrance S. <ts...@us...> - 2006-06-23 14:57:36
|
Update of /cvsroot/xsb/xsbtests/prolog_tests In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv25981 Modified Files: test.sh zero.c Log Message: Changes to test C interface more fully. Index: test.sh =================================================================== RCS file: /cvsroot/xsb/xsbtests/prolog_tests/test.sh,v retrieving revision 1.18 retrieving revision 1.19 diff -u -r1.18 -r1.19 --- test.sh 23 May 2006 21:58:55 -0000 1.18 +++ test.sh 23 Jun 2006 14:57:30 -0000 1.19 @@ -84,7 +84,11 @@ ../gentest.sh "$XEMU $options" test_termtoatom "test." #------------------------------------------------------------------------ +../gentest.sh "$XEMU $options" cinter3 "test." + +#------------------------------------------------------------------------ # Test Prolog calling C: the .so or .o file needs to be created each time +# (actually, mac / others do not create .so) #------------------------------------------------------------------------ OBJEXT=.xwam Index: zero.c =================================================================== RCS file: /cvsroot/xsb/xsbtests/prolog_tests/zero.c,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- zero.c 19 Jun 2006 20:14:41 -0000 1.6 +++ zero.c 23 Jun 2006 14:57:30 -0000 1.7 @@ -61,7 +61,8 @@ is no need to use string_find(). */ - extern_ctop_string(4, (char *) string_find(str_out,4)); + extern_ctop_string(4, str_out); + // extern_ctop_string(4, (char *) string_find(str_out,4)); return TRUE; } |