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. git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2278 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
@@ -381,7 +381,7 @@ extern X_API YAP_Term *PROTO(YAP_AddressFromSlot,(long int));
|
||||
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));
|
||||
|
Reference in New Issue
Block a user