1
0
mirror of https://github.com/stedolan/jq.git synced 2024-05-11 05:55:39 +00:00

Add jv_string_vfmt()

This commit is contained in:
Nicolas Williams
2013-12-04 18:14:10 -06:00
parent 09104ce531
commit 04bc2ef7cf
2 changed files with 15 additions and 5 deletions

2
jv.h
View File

@@ -1,6 +1,7 @@
#ifndef JV_H
#define JV_H
#include <stdarg.h>
#include <stdint.h>
typedef enum {
@@ -84,6 +85,7 @@ unsigned long jv_string_hash(jv);
const char* jv_string_value(jv);
jv jv_string_slice(jv j, int start, int end);
jv jv_string_concat(jv, jv);
jv jv_string_vfmt(const char*, va_list);
jv jv_string_fmt(const char*, ...);
jv jv_string_append_codepoint(jv a, uint32_t c);
jv jv_string_append_buf(jv a, const char* buf, int len);