whole lot of fixes:

- memory leak in indexing
  - memory management in WIN32 now supports holes
  - extend Yap interface, more support for SWI-Interface
  - new predicate mktime in system
  - buffer console I/O in WIN32


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1113 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
vsc
2004-08-11 16:14:55 +00:00
parent 23f85a3453
commit 1781ff9420
28 changed files with 627 additions and 131 deletions

View File

@@ -46,7 +46,7 @@ Yap_Module_Name(PredEntry *ap)
return TermProlog;
}
static Term
static int
LookupModule(Term a)
{
unsigned int i;
@@ -66,6 +66,12 @@ LookupModule(Term a)
return (i);
}
Term
Yap_Module(Term tmod)
{
return ModuleName[LookupModule(tmod)];
}
struct pred_entry *
Yap_ModulePred(Term mod)
{