interop.h
Include dependency graph for interop.h:
This graph shows which files directly or indirectly include interop.h:
Defines
-
SELECT_INT_DEFAULT(i_val)
Typedefs
-
typedef InteropFunctionResult (*interop_chardata_fold_fun)(term t, void *accum)
Enums
-
enum InteropFunctionResult
Values:
-
enumerator InteropOk
-
enumerator InteropMemoryAllocFail
-
enumerator InteropBadArg
-
enumerator InteropOk
Functions
-
char *interop_term_to_string(term t, int *ok)
-
char *interop_binary_to_string(term binary)
-
char *interop_list_to_string(term list, int *ok)
-
char *interop_iolist_to_string(term list, int *ok)
-
term interop_map_get_value(GlobalContext *glb, term map, term key)
-
term interop_map_get_value_default(GlobalContext *glb, term map, term key, term default_value)
- NO_DISCARD InteropFunctionResult interop_iolist_size (term t, size_t *size)
- NO_DISCARD InteropFunctionResult interop_write_iolist (term t, char *p)
- inline NO_DISCARD InteropFunctionResult interop_chardata_fold (term t, interop_chardata_fold_fun fold_fun, interop_chardata_rest_fun rest_fun, void *accum)
- NO_DISCARD enum UnicodeConversionResult interop_chardata_to_bytes_size (term t, size_t *size, size_t *rest_size, enum CharDataEncoding in_encoding, enum CharDataEncoding out_encoding)
- NO_DISCARD enum UnicodeConversionResult interop_chardata_to_bytes (term t, uint8_t *output, term *rest, enum CharDataEncoding in_encoding, enum CharDataEncoding out_encoding, Heap *heap)
-
int interop_atom_term_select_int(const AtomStringIntPair *table, term atom, GlobalContext *global)
-
term interop_kv_get_value_default(term kv, AtomString key, term default_value, GlobalContext *glb)
-
static inline term interop_kv_get_value(term kv, AtomString key, GlobalContext *glb)
-
struct AtomStringIntPair