aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/external.h
diff options
context:
space:
mode:
authorFilipe David Manana <[email protected]>2011-05-16 17:00:25 +0100
committerFilipe David Manana <[email protected]>2011-08-27 21:16:21 -0700
commit1b2cea397131a36a39b18c6ce8c6944bf11db4c7 (patch)
treee3f6ec427883d36e3ab8104ee73eb1c9c5966fcb /erts/emulator/beam/external.h
parent9a52e239698ae62cddbc0d780502c72458867b6f (diff)
downloadotp-1b2cea397131a36a39b18c6ce8c6944bf11db4c7.tar.gz
otp-1b2cea397131a36a39b18c6ce8c6944bf11db4c7.tar.bz2
otp-1b2cea397131a36a39b18c6ce8c6944bf11db4c7.zip
Add erlang:external_size/2 BIF
This BIF's second parameter is a list of options. Currently the only allowed option is {minor_version, Version} where version is either 0 (default) or 1.
Diffstat (limited to 'erts/emulator/beam/external.h')
-rw-r--r--erts/emulator/beam/external.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/erts/emulator/beam/external.h b/erts/emulator/beam/external.h
index d8287b96a4..72fe74baf2 100644
--- a/erts/emulator/beam/external.h
+++ b/erts/emulator/beam/external.h
@@ -160,6 +160,7 @@ Uint erts_encode_dist_ext_size(Eterm, Uint32, ErtsAtomCacheMap *);
void erts_encode_dist_ext(Eterm, byte **, Uint32, ErtsAtomCacheMap *);
Uint erts_encode_ext_size(Eterm);
+Uint erts_encode_ext_size_2(Eterm, unsigned);
Uint erts_encode_ext_size_ets(Eterm);
void erts_encode_ext(Eterm, byte **);
byte* erts_encode_ext_ets(Eterm, byte *, struct erl_off_heap_header** ext_off_heap);