diff options
author | Björn-Egil Dahlberg <[email protected]> | 2013-11-08 15:34:05 +0100 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2014-01-29 11:08:40 +0100 |
commit | e0eb6d5bafcebc1c24b0a538e50a1d55a3724f01 (patch) | |
tree | 5fddadbcc6100f4200e2e5d10fa7a505896736f5 /erts/emulator/drivers | |
parent | 1a234c9eba8ac2c78f97e5f3e33521b8cc5d3748 (diff) | |
download | otp-e0eb6d5bafcebc1c24b0a538e50a1d55a3724f01.tar.gz otp-e0eb6d5bafcebc1c24b0a538e50a1d55a3724f01.tar.bz2 otp-e0eb6d5bafcebc1c24b0a538e50a1d55a3724f01.zip |
erts: Add NIFs for Maps
- int enif_is_map(ErlNifEnv* env, ERL_NIF_TERM map)
- int enif_get_map_size(ErlNifEnv *env, ERL_NIF_TERM, int*)
- ERL_NIF_TERM enif_make_new_map(ErlNifEnv *env)
- int enif_make_map_put(ErlNifEnv *env, ERL_NIF_TERM map_in, ERL_NIF_TERM key, ERL_NIF_TERM value, ERL_NIF_TERM* map_out)
- int enif_get_map_value(ErlNifEnv *env, ERL_NIF_TERM map, ERL_NIF_TERM key, ERL_NIF_TERM* value)
- int enif_find_map_value(ErlNifEnv *env, ERL_NIF_TERM map, ERL_NIF_TERM key, ERL_NIF_TERM* value)
- int enif_make_map_update(ErlNifEnv *env, ERL_NIF_TERM map_in, ERL_NIF_TERM key, ERL_NIF_TERM value, ERL_NIF_TERM* map_out)
- int enif_make_map_remove(ErlNifEnv *env, ERL_NIF_TERM map_in, ERL_NIF_TERM key, ERL_NIF_TERM* map_out)
- int enif_map_iterator_create(ErlNifEnv *env, ERL_NIF_TERM map, ErlNifMapIterator *iter)
- void enif_map_iterator_destroy(ErlNifEnv *env, ErlNifMapIterator *iter)
- int enif_map_iterator_next(ErlNifEnv *env, ErlNifMapIterator *iter)
- int enif_map_iterator_get_pair(ErlNifEnv *env, ErlNifMapIterator *iter, ERL_NIF_TERM *key, ERL_NIF_TERM *value)
Diffstat (limited to 'erts/emulator/drivers')
0 files changed, 0 insertions, 0 deletions