update PLStream to improvements in the interface.

This commit is contained in:
Vítor Santos Costa
2010-05-04 15:17:08 +01:00
parent 0740495d77
commit 9ff4bbfbfe
7 changed files with 160 additions and 59 deletions

View File

@@ -198,7 +198,7 @@ switch(n->type)
int
_PL_unify_atomic(term_t t, PL_atomic_t a)
{
return YAP_Unify(YAP_GetFromSlot(t), (YAP_Term)a);
return PL_unify_atom(t, a);
}
word lookupAtom(const char *s, size_t len)
@@ -588,3 +588,11 @@ PL_unify_chars(term_t t, int flags, size_t len, const char *s)
return rc;
}
X_API int PL_handle_signals(void)
{
if ( !LD || LD->critical || !LD->signal.pending )
return 0;
fprintf(stderr,"PL_handle_signals not implemented\n");
return 0;
}