aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/gopkg.in/olebedev/go-duktape.v3/duk_minimal_printf.h
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/gopkg.in/olebedev/go-duktape.v3/duk_minimal_printf.h')
-rwxr-xr-xvendor/gopkg.in/olebedev/go-duktape.v3/duk_minimal_printf.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/vendor/gopkg.in/olebedev/go-duktape.v3/duk_minimal_printf.h b/vendor/gopkg.in/olebedev/go-duktape.v3/duk_minimal_printf.h
new file mode 100755
index 000000000..f0aa6b586
--- /dev/null
+++ b/vendor/gopkg.in/olebedev/go-duktape.v3/duk_minimal_printf.h
@@ -0,0 +1,12 @@
+#if !defined(DUK_MINIMAL_PRINTF_H_INCLUDED)
+#define DUK_MINIMAL_PRINTF_H_INCLUDED
+
+#include <stdarg.h> /* va_list etc */
+#include <stddef.h> /* size_t */
+
+extern int duk_minimal_sprintf(char *str, const char *format, ...);
+extern int duk_minimal_snprintf(char *str, size_t size, const char *format, ...);
+extern int duk_minimal_vsnprintf(char *str, size_t size, const char *format, va_list ap);
+extern int duk_minimal_sscanf(const char *str, const char *format, ...);
+
+#endif /* DUK_MINIMAL_PRINTF_H_INCLUDED */