mirror of
https://github.com/janet-lang/janet
synced 2025-12-14 12:38:09 +00:00
janet_formatb -> janet_formatbv, new janet_formatb
The old function was not very useable. In the likely case that there is no external code using this (not well documented/janet_formatc is more convenient), we can change this.
This commit is contained in:
@@ -1238,8 +1238,8 @@ JANET_API void janet_description_b(JanetBuffer *buffer, Janet x);
|
||||
#define janet_cstringv(cstr) janet_wrap_string(janet_cstring(cstr))
|
||||
#define janet_stringv(str, len) janet_wrap_string(janet_string((str), (len)))
|
||||
JANET_API JanetString janet_formatc(const char *format, ...);
|
||||
JANET_API void janet_formatb(JanetBuffer *bufp, const char *format, va_list args);
|
||||
JANET_API JanetBuffer *janet_formatbb(JanetBuffer *bufp, const char *format, ...);
|
||||
JANET_API JanetBuffer *janet_formatb(JanetBuffer *bufp, const char *format, ...);
|
||||
JANET_API void janet_formatbv(JanetBuffer *bufp, const char *format, va_list args);
|
||||
|
||||
/* Symbol functions */
|
||||
JANET_API JanetSymbol janet_symbol(const uint8_t *str, int32_t len);
|
||||
|
||||
Reference in New Issue
Block a user