#include "inline-only.h"
#include <stddef.h>
#include <string.h>
Go to the source code of this file.
|
enum | blob_type {
db_ref_e = sizeof(Functor *)
, blob_e = 2 * sizeof(Functor *)
, double_e = 3 * sizeof(Functor *)
, long_int_e = 4 * sizeof(Functor *)
,
big_int_e = 5 * sizeof(Functor *)
, string_e = 6 * sizeof(Functor *)
} |
|
enum | big_blob_type {
BIG_INT = 0x01
, BIG_RATIONAL = 0x02
, BIG_FLOAT = 0x04
, EMPTY_ARENA = 0x10
,
ARRAY_INT = 0x21
, ARRAY_FLOAT = 0x22
, CLAUSE_LIST = 0x40
, EXTERNAL_BLOB = 0x0A0
,
GOAL_CUT_POINT = 0x0A1
, USER_BLOB_START = 0x0100
, USER_BLOB_END = 0x0200
} |
|
enum | exts { empty_ext = 0 * sizeof(ext_op)
, attvars_ext = 1 * sizeof(ext_op)
} |
|
◆ CloseExtension
#define CloseExtension |
( |
|
x | ) |
MkAtomTerm((Atom)(x)) |
◆ end_e
#define end_e (8 * sizeof(Functor *)) |
◆ FunctorBigInt
#define FunctorBigInt ((Functor)(big_int_e)) |
◆ FunctorBlob
#define FunctorBlob ((Functor)(blob_e)) |
◆ FunctorDBRef
#define FunctorDBRef ((Functor)(db_ref_e)) |
◆ FunctorDouble
#define FunctorDouble ((Functor)(double_e)) |
◆ FunctorLongInt
#define FunctorLongInt ((Functor)(long_int_e)) |
◆ FunctorString
#define FunctorString ((Functor)(string_e)) |
◆ GetStartOfExtension
#define GetStartOfExtension |
( |
|
x | ) |
((CELL*)AtomOfTerm(*x)) |
◆ InitUnalignedFloat
#define InitUnalignedFloat |
( |
| ) |
|
◆ MkFloatTerm
#define MkFloatTerm |
( |
|
fl | ) |
__MkFloatTerm((fl)PASS_REGS) |
◆ MkLongIntTerm
#define MkLongIntTerm |
( |
|
i | ) |
__MkLongIntTerm((i)PASS_REGS) |
◆ MkStringTerm
#define MkStringTerm |
( |
|
i | ) |
__MkStringTerm((i)PASS_REGS) |
◆ MkUStringTerm
#define MkUStringTerm |
( |
|
i | ) |
__MkStringTerm((const char *)(i)PASS_REGS) |
◆ SF_STORE
◆ TermDot
#define TermDot MkAtomTerm(AtomDot) |
◆ TermFoundVar
#define TermFoundVar MkAtomTerm(AtomFoundVar) |
◆ TermFreeTerm
#define TermFreeTerm MkAtomTerm(AtomFreeTerm) |
◆ TermNil
#define TermNil MkAtomTerm(AtomNil) |
◆ mp_limb_t
◆ big_blob_type
◆ blob_type
◆ exts
◆ __MkFloatTerm()
INLINE_ONLY Term __MkFloatTerm |
( |
Float dbl |
USES_REGS | ) |
|
◆ __MkLongIntTerm()
INLINE_ONLY Term __MkLongIntTerm |
( |
Int i |
USES_REGS | ) |
|
◆ __MkStringTerm()
INLINE_ONLY Term __MkStringTerm |
( |
const char *s |
USES_REGS | ) |
|
◆ BlobOfFunctor()
INLINE_ONLY blob_type BlobOfFunctor |
( |
Functor |
f | ) |
|
◆ CpFloatUnaligned()
INLINE_ONLY Float CpFloatUnaligned |
( |
CELL * |
ptr | ) |
|
◆ ExternalBlobFromTerm()
INLINE_ONLY void * ExternalBlobFromTerm |
( |
Term |
t | ) |
|
◆ ExtFromCell()
INLINE_ONLY exts ExtFromCell |
( |
CELL * |
pt | ) |
|
◆ FloatOfTerm()
INLINE_ONLY Float FloatOfTerm |
( |
Term |
t | ) |
|
◆ IsAtomicTerm()
INLINE_ONLY bool IsAtomicTerm |
( |
Term |
t | ) |
|
◆ IsBigIntTerm()
INLINE_ONLY bool IsBigIntTerm |
( |
Term |
t | ) |
|
◆ IsBlobFunctor()
INLINE_ONLY bool IsBlobFunctor |
( |
Functor |
f | ) |
|
◆ IsBlobTerm()
INLINE_ONLY bool IsBlobTerm |
( |
Term |
t | ) |
|
◆ IsExtensionFunctor()
INLINE_ONLY bool IsExtensionFunctor |
( |
Functor |
f | ) |
|
◆ IsExternalBlobTerm()
INLINE_ONLY bool IsExternalBlobTerm |
( |
Term |
t, |
|
|
CELL |
tag |
|
) |
| |
◆ IsFloatTerm()
INLINE_ONLY bool IsFloatTerm |
( |
Term |
t | ) |
|
◆ IsLargeIntTerm()
INLINE_ONLY int IsLargeIntTerm |
( |
Term |
t | ) |
|
◆ IsLargeNumTerm()
INLINE_ONLY bool IsLargeNumTerm |
( |
Term |
t | ) |
|
◆ IsLongIntTerm()
INLINE_ONLY bool IsLongIntTerm |
( |
Term |
t | ) |
|
◆ IsNumTerm()
INLINE_ONLY bool IsNumTerm |
( |
Term |
t | ) |
|
◆ IsPrimitiveTerm()
INLINE_ONLY bool IsPrimitiveTerm |
( |
Term |
t | ) |
|
◆ IsStringTerm()
INLINE_ONLY bool IsStringTerm |
( |
Term |
t | ) |
|
◆ LongIntOfTerm()
INLINE_ONLY Int LongIntOfTerm |
( |
Term |
t | ) |
|
◆ StringOfTerm()
INLINE_ONLY const char * StringOfTerm |
( |
Term |
t | ) |
|
◆ UStringOfTerm()
INLINE_ONLY const unsigned char * UStringOfTerm |
( |
Term |
t | ) |
|
◆ Yap_BlobInfo()
INLINE_ONLY void * Yap_BlobInfo |
( |
Term |
t | ) |
|
◆ Yap_BlobTag()
INLINE_ONLY Int Yap_BlobTag |
( |
Term |
t | ) |
|
◆ AtomDot
◆ AtomFoundVar
◆ AtomFreeTerm
◆ AtomNil