fix types for return absmi and friends.

This commit is contained in:
Vítor Santos Costa
2011-12-13 23:09:05 +00:00
parent 32ebfe00fd
commit 18190a4633
5 changed files with 16 additions and 16 deletions

View File

@@ -16664,7 +16664,7 @@ There are several ways to call Prolog code from C-code. By default, the
has been initialised before:
@example
YAP_RunGoal(YAP_Term Goal)
YAP_Int YAP_RunGoal(YAP_Term Goal)
@end example
Execute query @var{Goal} and return 1 if the query succeeds, and 0
otherwise. The predicate returns 0 if failure, otherwise it will return
@@ -16673,7 +16673,7 @@ an @var{YAP_Term}.
Quite often, one wants to run a query once. In this case you should use
@var{Goal}:
@example
YAP_RunGoalOnce(YAP_Term Goal)
YAP_Int YAP_RunGoalOnce(YAP_Term Goal)
@end example
The @code{YAP_RunGoal()} function makes sure to recover stack space at
the end of execution.