mirror of
https://github.com/rafagafe/tiny-json.git
synced 2025-03-12 19:25:30 +00:00
Moved the MAX_PROPERTY_SIZE define to the tiny-json.h file
This commit is contained in:
parent
cdaeed5c56
commit
6664de5f23
@ -30,7 +30,6 @@
|
||||
#include <string.h>
|
||||
#include <ctype.h>
|
||||
#include "tiny-json.h"
|
||||
#define MAX_PROPERTY_SIZE 64
|
||||
|
||||
/** Structure to handle a heap of JSON properties. */
|
||||
typedef struct jsonStaticPool_s {
|
||||
|
@ -38,6 +38,7 @@ extern "C" {
|
||||
#include <stdlib.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#define MAX_PROPERTY_SIZE 64
|
||||
|
||||
#define json_containerOf( ptr, type, member ) \
|
||||
((type*)( (char*)ptr - offsetof( type, member ) ))
|
||||
|
Loading…
Reference in New Issue
Block a user