|
From: Vitor S. C. <vs...@us...> - 2008-06-17 13:37:47
|
Update of /cvsroot/yap/include In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv22579/include Modified Files: YapInterface.h Log Message: fix c_interface not to crash when people try to recover slots that are not there. fix try_logical and friends to handle case where predicate has arity 0. Index: YapInterface.h =================================================================== RCS file: /cvsroot/yap/include/YapInterface.h,v retrieving revision 1.28 retrieving revision 1.29 diff -u -r1.28 -r1.29 --- YapInterface.h 4 Jun 2008 13:58:42 -0000 1.28 +++ YapInterface.h 17 Jun 2008 13:37:51 -0000 1.29 @@ -381,7 +381,7 @@ extern X_API void PROTO(YAP_PutInSlot,(long int, YAP_Term)); /* void YAP_RecoverSlots() */ -extern X_API void PROTO(YAP_RecoverSlots,(int)); +extern X_API int PROTO(YAP_RecoverSlots,(int)); /* void YAP_Throw() */ extern X_API void PROTO(YAP_Throw,(YAP_Term)); |