Module: Upl::Extern::Convert
- Defined in:
- lib/upl/extern.rb
Overview
/usr/lib64/swipl/include/SWI-Prolog.h
Constant Summary collapse
- BUF_DISCARDABLE =
Store in single thread-local buffer
0x00000000- BUF_RING =
Store in ring of 16 buffers
0x00010000- BUF_MALLOC =
Store using PL_malloc()
0x00020000- BUF_ALLOW_STACK =
Allow pointer into (global) stack
0x00040000- BUF_NORING =
Do not store in ring
0x00080000- REP_ISO_LATIN_1 =
output representation
0x00000000- REP_UTF8 =
0x00100000- REP_MB =
0x00200000- CVT_ATOM =
0x00000001- CVT_STRING =
0x00000002- CVT_LIST =
0x00000004- CVT_INTEGER =
0x00000008- CVT_RATIONAL =
0x00000010- CVT_FLOAT =
0x00000020- CVT_VARIABLE =
0x00000040- CVT_NUMBER =
(CVT_RATIONAL|CVT_FLOAT)
- CVT_ATOMIC =
(CVT_NUMBER|CVT_ATOM|CVT_STRING)
- CVT_WRITE =
0x00000080- CVT_WRITE_CANONICAL =
0x00000080- CVT_WRITEQ =
0x000000C0- CVT_ALL =
(CVT_ATOMIC|CVT_LIST)
- CVT_MASK =
0x00000fff- CVT_EXCEPTION =
throw exception on error
0x00001000- CVT_VARNOFAIL =
return 2 if argument is unbound
0x00002000