This commit is contained in:
Vitor Santos Costa 2016-04-22 18:26:37 +01:00
parent dbd4c979b1
commit 2550fc5b87

View File

@ -1280,6 +1280,11 @@ static void InitVersion(void) {
Yap_PutValue(AtomVersionNumber, MkAtomTerm(Yap_LookupAtom(YAP_FULL_VERSION))); Yap_PutValue(AtomVersionNumber, MkAtomTerm(Yap_LookupAtom(YAP_FULL_VERSION)));
} }
const char *Yap_version(void) {
Term t = Yap_GetValue(AtomVersionNumber);
return RepAtom(AtomOfTerm(t))->StrOfAE;
}
void Yap_InitWorkspace(UInt Heap, UInt Stack, UInt Trail, UInt Atts, void Yap_InitWorkspace(UInt Heap, UInt Stack, UInt Trail, UInt Atts,
UInt max_table_size, int n_workers, int sch_loop, UInt max_table_size, int n_workers, int sch_loop,
int delay_load) { int delay_load) {