fix types
This commit is contained in:
parent
9dcfb6a745
commit
9623f70d3a
@ -530,7 +530,7 @@ Yap_bug_location(yamop *pc)
|
||||
static char tmpbuf[YAP_BUF_SIZE];
|
||||
|
||||
yamop *
|
||||
Yap_NilError(yap_error_number type, char *format,...)
|
||||
Yap_NilError(yap_error_number type, const char *format,...)
|
||||
{
|
||||
va_list ap;
|
||||
yamop *res;
|
||||
@ -544,7 +544,7 @@ Yap_NilError(yap_error_number type, char *format,...)
|
||||
}
|
||||
|
||||
yamop *
|
||||
Yap_Error(yap_error_number type, Term where, char *format,...)
|
||||
Yap_Error(yap_error_number type, Term where, const char *format,...)
|
||||
{
|
||||
CACHE_REGS
|
||||
va_list ap;
|
||||
|
@ -115,7 +115,7 @@ Int YAP_Execute(struct pred_entry *, CPredicate);
|
||||
Int YAP_ExecuteFirst(struct pred_entry *, CPredicate);
|
||||
Int YAP_ExecuteNext(struct pred_entry *, CPredicate);
|
||||
Int YAP_ExecuteOnCut(struct pred_entry *, CPredicate, struct cut_c_str *);
|
||||
Int YAP_RunGoalOnce(Term);
|
||||
extern Int Yap_RunGoalOnce(Term);
|
||||
#endif
|
||||
|
||||
/* cdmgr.c */
|
||||
@ -167,8 +167,8 @@ Yap_PrintPredName( struct pred_entry *ap );
|
||||
#endif
|
||||
void Yap_RestartYap(int);
|
||||
void Yap_exit(int);
|
||||
yamop *Yap_Error(yap_error_number,Term,char *msg, ...);
|
||||
yamop *Yap_NilError(yap_error_number,char *msg, ...);
|
||||
yamop *Yap_Error(yap_error_number,Term, const char *msg, ...);
|
||||
yamop *Yap_NilError(yap_error_number, const char *msg, ...);
|
||||
int Yap_HandleError( const char *msg, ... );
|
||||
int Yap_SWIHandleError( const char *, ... );
|
||||
|
||||
|
Reference in New Issue
Block a user