module for charsio
This commit is contained in:
parent
d48772c24d
commit
2b5bddb690
@ -1,4 +1,4 @@
|
|||||||
|
|
||||||
/* This file, dhstruct.h, was generated automatically by "yap -L misc/buildheap"
|
/* This file, dhstruct.h, was generated automatically by "yap -L misc/buildheap"
|
||||||
please do not update, update misc/HEAPFIELDS instead */
|
please do not update, update misc/HEAPFIELDS instead */
|
||||||
|
|
||||||
@ -91,6 +91,7 @@
|
|||||||
#define IDB_MODULE Yap_heap_regs->idb_module
|
#define IDB_MODULE Yap_heap_regs->idb_module
|
||||||
#define ATTRIBUTES_MODULE Yap_heap_regs->attributes_module
|
#define ATTRIBUTES_MODULE Yap_heap_regs->attributes_module
|
||||||
#define CHARSIO_MODULE Yap_heap_regs->charsio_module
|
#define CHARSIO_MODULE Yap_heap_regs->charsio_module
|
||||||
|
#define CHTYPE_MODULE Yap_heap_regs->chtype_module
|
||||||
#define TERMS_MODULE Yap_heap_regs->terms_module
|
#define TERMS_MODULE Yap_heap_regs->terms_module
|
||||||
#define SYSTEM_MODULE Yap_heap_regs->system_module
|
#define SYSTEM_MODULE Yap_heap_regs->system_module
|
||||||
#define OPERATING_SYSTEM_MODULE Yap_heap_regs->operating_system_module
|
#define OPERATING_SYSTEM_MODULE Yap_heap_regs->operating_system_module
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
|
|
||||||
/* This file, hstruct.h, was generated automatically by "yap -L misc/buildheap"
|
/* This file, hstruct.h, was generated automatically by "yap -L misc/buildheap"
|
||||||
please do not update, update misc/HEAPFIELDS instead */
|
please do not update, update misc/HEAPFIELDS instead */
|
||||||
|
|
||||||
@ -91,6 +91,7 @@
|
|||||||
Term idb_module;
|
Term idb_module;
|
||||||
Term attributes_module;
|
Term attributes_module;
|
||||||
Term charsio_module;
|
Term charsio_module;
|
||||||
|
Term chtype_module;
|
||||||
Term terms_module;
|
Term terms_module;
|
||||||
Term system_module;
|
Term system_module;
|
||||||
Term operating_system_module;
|
Term operating_system_module;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
|
|
||||||
/* This file, iatoms.h, was generated automatically by "yap -L misc/buildatoms"
|
/* This file, iatoms.h, was generated automatically by "yap -L misc/buildatoms"
|
||||||
please do not update, update misc/ATOMS instead */
|
please do not update, update misc/ATOMS instead */
|
||||||
|
|
||||||
@ -55,6 +55,7 @@
|
|||||||
AtomCharacterCode = Yap_LookupAtom("character_code");
|
AtomCharacterCode = Yap_LookupAtom("character_code");
|
||||||
AtomChars = Yap_LookupAtom("chars");
|
AtomChars = Yap_LookupAtom("chars");
|
||||||
AtomCharset = Yap_LookupAtom("charset");
|
AtomCharset = Yap_LookupAtom("charset");
|
||||||
|
AtomChType = Yap_FullLookupAtom("$char_type");
|
||||||
AtomCleanCall = Yap_FullLookupAtom("$clean_call");
|
AtomCleanCall = Yap_FullLookupAtom("$clean_call");
|
||||||
AtomColomn = Yap_LookupAtom(":");
|
AtomColomn = Yap_LookupAtom(":");
|
||||||
AtomCodeSpace = Yap_LookupAtom("code_space");
|
AtomCodeSpace = Yap_LookupAtom("code_space");
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
|
|
||||||
/* This file, ihstruct.h, was generated automatically by "yap -L misc/buildheap"
|
/* This file, ihstruct.h, was generated automatically by "yap -L misc/buildheap"
|
||||||
please do not update, update misc/HEAPFIELDS instead */
|
please do not update, update misc/HEAPFIELDS instead */
|
||||||
|
|
||||||
@ -91,6 +91,7 @@
|
|||||||
IDB_MODULE = MkAtomTerm(AtomIDB);
|
IDB_MODULE = MkAtomTerm(AtomIDB);
|
||||||
ATTRIBUTES_MODULE = MkAtomTerm(AtomAttributes);
|
ATTRIBUTES_MODULE = MkAtomTerm(AtomAttributes);
|
||||||
CHARSIO_MODULE = MkAtomTerm(AtomCharsio);
|
CHARSIO_MODULE = MkAtomTerm(AtomCharsio);
|
||||||
|
CHTYPE_MODULE = MkAtomTerm(AtomChType);
|
||||||
TERMS_MODULE = MkAtomTerm(AtomTerms);
|
TERMS_MODULE = MkAtomTerm(AtomTerms);
|
||||||
SYSTEM_MODULE = MkAtomTerm(AtomSystem);
|
SYSTEM_MODULE = MkAtomTerm(AtomSystem);
|
||||||
OPERATING_SYSTEM_MODULE = MkAtomTerm(AtomOperatingSystemSupport);
|
OPERATING_SYSTEM_MODULE = MkAtomTerm(AtomOperatingSystemSupport);
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
|
|
||||||
/* This file, ratoms.h, was generated automatically by "yap -L misc/buildatoms"
|
/* This file, ratoms.h, was generated automatically by "yap -L misc/buildatoms"
|
||||||
please do not update, update misc/ATOMS instead */
|
please do not update, update misc/ATOMS instead */
|
||||||
|
|
||||||
@ -55,6 +55,7 @@
|
|||||||
AtomCharacterCode = AtomAdjust(AtomCharacterCode);
|
AtomCharacterCode = AtomAdjust(AtomCharacterCode);
|
||||||
AtomChars = AtomAdjust(AtomChars);
|
AtomChars = AtomAdjust(AtomChars);
|
||||||
AtomCharset = AtomAdjust(AtomCharset);
|
AtomCharset = AtomAdjust(AtomCharset);
|
||||||
|
AtomChType = AtomAdjust(AtomChType);
|
||||||
AtomCleanCall = AtomAdjust(AtomCleanCall);
|
AtomCleanCall = AtomAdjust(AtomCleanCall);
|
||||||
AtomColomn = AtomAdjust(AtomColomn);
|
AtomColomn = AtomAdjust(AtomColomn);
|
||||||
AtomCodeSpace = AtomAdjust(AtomCodeSpace);
|
AtomCodeSpace = AtomAdjust(AtomCodeSpace);
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
|
|
||||||
/* This file, rhstruct.h, was generated automatically by "yap -L misc/buildheap"
|
/* This file, rhstruct.h, was generated automatically by "yap -L misc/buildheap"
|
||||||
please do not update, update misc/HEAPFIELDS instead */
|
please do not update, update misc/HEAPFIELDS instead */
|
||||||
|
|
||||||
@ -91,6 +91,7 @@
|
|||||||
IDB_MODULE = AtomTermAdjust(IDB_MODULE);
|
IDB_MODULE = AtomTermAdjust(IDB_MODULE);
|
||||||
ATTRIBUTES_MODULE = AtomTermAdjust(ATTRIBUTES_MODULE);
|
ATTRIBUTES_MODULE = AtomTermAdjust(ATTRIBUTES_MODULE);
|
||||||
CHARSIO_MODULE = AtomTermAdjust(CHARSIO_MODULE);
|
CHARSIO_MODULE = AtomTermAdjust(CHARSIO_MODULE);
|
||||||
|
CHTYPE_MODULE = AtomTermAdjust(CHTYPE_MODULE);
|
||||||
TERMS_MODULE = AtomTermAdjust(TERMS_MODULE);
|
TERMS_MODULE = AtomTermAdjust(TERMS_MODULE);
|
||||||
SYSTEM_MODULE = AtomTermAdjust(SYSTEM_MODULE);
|
SYSTEM_MODULE = AtomTermAdjust(SYSTEM_MODULE);
|
||||||
OPERATING_SYSTEM_MODULE = AtomTermAdjust(OPERATING_SYSTEM_MODULE);
|
OPERATING_SYSTEM_MODULE = AtomTermAdjust(OPERATING_SYSTEM_MODULE);
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
|
|
||||||
/* This file, tatoms.h, was generated automatically by "yap -L misc/buildatoms"
|
/* This file, tatoms.h, was generated automatically by "yap -L misc/buildatoms"
|
||||||
please do not update, update misc/ATOMS instead */
|
please do not update, update misc/ATOMS instead */
|
||||||
|
|
||||||
@ -161,6 +161,9 @@
|
|||||||
Atom AtomCharset_;
|
Atom AtomCharset_;
|
||||||
#define AtomCharset Yap_heap_regs->AtomCharset_
|
#define AtomCharset Yap_heap_regs->AtomCharset_
|
||||||
#define TermCharset MkAtomTerm( Yap_heap_regs->AtomCharset_ )
|
#define TermCharset MkAtomTerm( Yap_heap_regs->AtomCharset_ )
|
||||||
|
Atom AtomChType_;
|
||||||
|
#define AtomChType Yap_heap_regs->AtomChType_
|
||||||
|
#define TermChType MkAtomTerm( Yap_heap_regs->AtomChType_ )
|
||||||
Atom AtomCleanCall_;
|
Atom AtomCleanCall_;
|
||||||
#define AtomCleanCall Yap_heap_regs->AtomCleanCall_
|
#define AtomCleanCall Yap_heap_regs->AtomCleanCall_
|
||||||
#define TermCleanCall MkAtomTerm( Yap_heap_regs->AtomCleanCall_ )
|
#define TermCleanCall MkAtomTerm( Yap_heap_regs->AtomCleanCall_ )
|
||||||
|
@ -59,16 +59,3 @@ static inline int si_callback(void *key, void *data, void *arg)
|
|||||||
return Yap_ClauseListExtend(c->cl, *cl, c->pred);
|
return Yap_ClauseListExtend(c->cl, *cl, c->pred);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef USE_JUDY
|
|
||||||
#include <Judy.h>
|
|
||||||
/* Judy1 integer sparse set intersection */
|
|
||||||
static inline int j1_callback(void *key, void *data, void *arg)
|
|
||||||
{
|
|
||||||
int r;
|
|
||||||
Pvoid_t *arrayP = (Pvoid_t *) arg;
|
|
||||||
J1S(r, *arrayP, (Word_t) data);
|
|
||||||
if (r == JERR)
|
|
||||||
return FALSE;
|
|
||||||
return TRUE;
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
@ -60,6 +60,7 @@ A Character N "character"
|
|||||||
A CharacterCode N "character_code"
|
A CharacterCode N "character_code"
|
||||||
A Chars N "chars"
|
A Chars N "chars"
|
||||||
A Charset N "charset"
|
A Charset N "charset"
|
||||||
|
A ChType F "$char_type"
|
||||||
A CleanCall F "$clean_call"
|
A CleanCall F "$clean_call"
|
||||||
A Colomn N ":"
|
A Colomn N ":"
|
||||||
A CodeSpace N "code_space"
|
A CodeSpace N "code_space"
|
||||||
|
@ -94,6 +94,7 @@ Term user_module USER_MODULE MkAT AtomUser
|
|||||||
Term idb_module IDB_MODULE MkAT AtomIDB
|
Term idb_module IDB_MODULE MkAT AtomIDB
|
||||||
Term attributes_module ATTRIBUTES_MODULE MkAT AtomAttributes
|
Term attributes_module ATTRIBUTES_MODULE MkAT AtomAttributes
|
||||||
Term charsio_module CHARSIO_MODULE MkAT AtomCharsio
|
Term charsio_module CHARSIO_MODULE MkAT AtomCharsio
|
||||||
|
Term chtype_module CHTYPE_MODULE MkAT AtomChType
|
||||||
Term terms_module TERMS_MODULE MkAT AtomTerms
|
Term terms_module TERMS_MODULE MkAT AtomTerms
|
||||||
Term system_module SYSTEM_MODULE MkAT AtomSystem
|
Term system_module SYSTEM_MODULE MkAT AtomSystem
|
||||||
Term operating_system_module OPERATING_SYSTEM_MODULE MkAT AtomOperatingSystemSupport
|
Term operating_system_module OPERATING_SYSTEM_MODULE MkAT AtomOperatingSystemSupport
|
||||||
|
Reference in New Issue
Block a user