aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/global.h
diff options
context:
space:
mode:
authorJohn Högberg <[email protected]>2019-01-10 09:46:41 +0100
committerJohn Högberg <[email protected]>2019-01-10 09:46:41 +0100
commitf3d7370784de6ca5296ff627a53ada62bd128afb (patch)
treef55fc281c2b6781f831541957aa071013e7a5579 /erts/emulator/beam/global.h
parent783ef85d5c44902b904487c7b869af09f4d36924 (diff)
parent78e67434b34813b8efe61f8e8dca445dd12b0f7b (diff)
downloadotp-f3d7370784de6ca5296ff627a53ada62bd128afb.tar.gz
otp-f3d7370784de6ca5296ff627a53ada62bd128afb.tar.bz2
otp-f3d7370784de6ca5296ff627a53ada62bd128afb.zip
Merge branch 'maint'
* maint: Implement integer_to_list/2 and integer_to_binary/2 as CIFs Accept base in all integer-printing functions Document cleanup semantics for atomics and counters
Diffstat (limited to 'erts/emulator/beam/global.h')
-rw-r--r--erts/emulator/beam/global.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/erts/emulator/beam/global.h b/erts/emulator/beam/global.h
index 9eb7b58dbb..577630fe0d 100644
--- a/erts/emulator/beam/global.h
+++ b/erts/emulator/beam/global.h
@@ -1308,14 +1308,7 @@ Sint intlist_to_buf(Eterm, char*, Sint); /* most callers pass plain char*'s */
int erts_unicode_list_to_buf(Eterm list, byte *buf, Sint len, Sint* written);
Sint erts_unicode_list_to_buf_len(Eterm list);
-struct Sint_buf {
-#if defined(ARCH_64)
- char s[22];
-#else
- char s[12];
-#endif
-};
-char* Sint_to_buf(Sint, struct Sint_buf*);
+int Sint_to_buf(Sint num, int base, char **buf_p, size_t buf_size);
#define ERTS_IOLIST_STATE_INITER(C_P, OBJ) \
{(C_P), 0, 0, (OBJ), {NULL, NULL, NULL, ERTS_ALC_T_INVALID}, 0, 0}