aboutsummaryrefslogtreecommitdiffstats
path: root/erts/include/internal/erl_printf_format.h
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2016-11-17 16:49:30 +0100
committerSverker Eriksson <[email protected]>2016-11-17 16:49:30 +0100
commit4d7f8c2ab1a7b8c204d932166837b58d08de6506 (patch)
tree342de93328fc3fb7fd4f071eef90c447f93f014e /erts/include/internal/erl_printf_format.h
parent4c3141e8765bcaaaf998dd84b4f53059c3fe066f (diff)
downloadotp-4d7f8c2ab1a7b8c204d932166837b58d08de6506.tar.gz
otp-4d7f8c2ab1a7b8c204d932166837b58d08de6506.tar.bz2
otp-4d7f8c2ab1a7b8c204d932166837b58d08de6506.zip
erts: Add cbprintf for Callback Printing
Diffstat (limited to 'erts/include/internal/erl_printf_format.h')
-rw-r--r--erts/include/internal/erl_printf_format.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/erts/include/internal/erl_printf_format.h b/erts/include/internal/erl_printf_format.h
index 4f969bdbcb..56ec032bd1 100644
--- a/erts/include/internal/erl_printf_format.h
+++ b/erts/include/internal/erl_printf_format.h
@@ -30,6 +30,7 @@
#include <stdlib.h>
#include "erl_int_sizes_config.h"
+#include "erl_printf.h"
#if SIZEOF_VOID_P == SIZEOF_LONG
typedef unsigned long ErlPfUWord;
@@ -44,8 +45,6 @@ typedef long long ErlPfSWord;
#error Found no appropriate type to use for 'Eterm', 'Uint' and 'Sint'
#endif
-typedef int (*fmtfn_t)(void*, char*, size_t);
-
extern int erts_printf_format(fmtfn_t, void*, char*, va_list);
extern int erts_printf_char(fmtfn_t, void*, char);