fix C major issues
- use delays to implement setup_call - fix user_* flag - error handling i CXX should b local - fix mess on how to call openQuert - deter pt -> from a pointer to another one - avoid text forms when you can use C: LOCLS to locals.h - fux seto_call - new gated call - mem streams
This commit is contained in:
@@ -2134,6 +2134,13 @@ X_API int YAP_InitConsult(int mode, const char *filename, char *full,
|
||||
return sno;
|
||||
}
|
||||
|
||||
/// given a stream descriptor or stream alias (see open/3),
|
||||
/// return YAP's internal handle.
|
||||
X_API void *YAP_GetStreamFromId(int no)
|
||||
{
|
||||
return GLOBAL_Stream+no;
|
||||
}
|
||||
|
||||
X_API FILE *YAP_TermToStream(Term t) {
|
||||
BACKUP_MACHINE_REGS();
|
||||
FILE *s;
|
||||
|
Reference in New Issue
Block a user