aboutsummaryrefslogtreecommitdiff
path: root/redist/json_helpers.h
blob: 8d6eb64e56fdbf3ee6be4453869290c4b58afea0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// (C) 2017 <>< Joshua Allen, Under MIT/x11 License.

#ifndef JSON_HELPERS_H
#define JSON_HELPERS_H

#include <stdint.h>

void json_write_float_array(FILE* f, const char* tag, float* v, uint8_t count);
void json_write_double_array(FILE* f, const char* tag, double* v, uint8_t count);
void json_write_uint32(FILE* f, const char* tag, uint32_t v);
void json_write_float(FILE* f, const char* tag, float v);
void json_write_str(FILE* f, const char* tag, const char* v);

#endif