aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_map.h
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2016-04-10 22:48:55 +0200
committerBjörn-Egil Dahlberg <[email protected]>2016-04-22 23:24:53 +0200
commit65bd8ade865eebe0d8a3c3210a4e2e9f334e229f (patch)
tree535443ee4deba6136b397a4b04a325d0e83cdea3 /erts/emulator/beam/erl_map.h
parentf2cef11a16d8d5f643cdf913b46042db71bff867 (diff)
downloadotp-65bd8ade865eebe0d8a3c3210a4e2e9f334e229f.tar.gz
otp-65bd8ade865eebe0d8a3c3210a4e2e9f334e229f.tar.bz2
otp-65bd8ade865eebe0d8a3c3210a4e2e9f334e229f.zip
erts: Add BIF maps:take/2
Diffstat (limited to 'erts/emulator/beam/erl_map.h')
-rw-r--r--erts/emulator/beam/erl_map.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/erts/emulator/beam/erl_map.h b/erts/emulator/beam/erl_map.h
index 7af9100906..8b5c9582ba 100644
--- a/erts/emulator/beam/erl_map.h
+++ b/erts/emulator/beam/erl_map.h
@@ -82,6 +82,7 @@ struct ErtsEStack_;
Eterm erts_maps_put(Process *p, Eterm key, Eterm value, Eterm map);
int erts_maps_update(Process *p, Eterm key, Eterm value, Eterm map, Eterm *res);
int erts_maps_remove(Process *p, Eterm key, Eterm map, Eterm *res);
+int erts_maps_take(Process *p, Eterm key, Eterm map, Eterm *res, Eterm *value);
Eterm erts_hashmap_insert(Process *p, Uint32 hx, Eterm key, Eterm value,
Eterm node, int is_update);