|
From: Vitor S. C. <vs...@us...> - 2008-06-17 13:38:24
|
Update of /cvsroot/yap/docs In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv22579/docs Modified Files: yap.tex 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: yap.tex =================================================================== RCS file: /cvsroot/yap/docs/yap.tex,v retrieving revision 1.254 retrieving revision 1.255 diff -u -r1.254 -r1.255 --- yap.tex 16 Jun 2008 21:22:14 -0000 1.254 +++ yap.tex 17 Jun 2008 13:37:50 -0000 1.255 @@ -14150,10 +14150,10 @@ @findex YAP_PutInSlot (C-Interface function) Set the contents of slot @var{slot} to @var{t}. -@item void YAP_RecoverSlots(int @var{HowMany}) +@item int YAP_RecoverSlots(int @var{HowMany}) @findex YAP_RecoverSlots (C-Interface function) Recover the space for @var{HowMany} slots: these will include the -current default slot. +current default slot. Fails if no such slots exist. @end table The following functions complement @var{YAP_RunGoal}: |