erl_eterm
erl_eterm
C library
erl_eterm
Library summary
Functions for Erlang term construction.
Description
This module provides functions for creating and manipulating Erlang terms.
An Erlang term is represented by a C structure of type ETERM
. Applications should not reference any fields in this structure directly, as it can be changed in future releases to provide faster and more compact term storage. Instead, applications should use the macros and functions provided.
Each of the following macros takes a single ETERM
pointer as an argument. The macros return a non-zero value if the test is true, otherwise 0
.
ERL_IS_INTEGER(t)
- True if
t
is an integer. ERL_IS_UNSIGNED_INTEGER(t)登录查看完整内容