- Documentation
- Reference manual
- Foreign Language Interface
- The Foreign Include File
- Analysing Terms via the Foreign Interface
- Wide-character versions
- PL_new_atom_wchars()
- PL_atom_wchars()
- PL_get_wchars()
- PL_put_wchars()
- PL_unify_wchars()
- PL_unify_wchars_diff()
- PL_utf8_code_point()
- PL_utf8_strlen()
- PL_wcwidth()
- PL_is_id_start()
- PL_is_id_continue()
- PL_is_uppercase()
- PL_is_decimal()
- PL_is_layout()
- PL_ctype_flags()
- PL_toupper()
- PL_tolower()
- PL_totitle()
- Wide-character versions
- Analysing Terms via the Foreign Interface
- The Foreign Include File
- Foreign Language Interface
- Packages
- Reference manual
Availability:C-language interface function
PL_CODE_LIST and PL_CHAR_LIST.
It serves two purposes. It allows for returning very long lists from
data read from a stream without the need for a resizing buffer in C.
Also, the use of difference lists is often practical for further
processing in Prolog. Examples can be found in packages/clib/readutil.c
from the source distribution.