forked from loafle/openapi-generator-original
* cJSON generate unformatted json to save memory during large objects handling * update sample * add option to use cjson print unforamtted in client * remove unused test template files * add new samples * update workflow * update doc * fix model filename * fix inclulde --------- Co-authored-by: Hemant Zope <42613258+zhemant@users.noreply.github.com> Co-authored-by: Hemant Zope <hemantzope2008@gmail.com>
17 lines
372 B
C
17 lines
372 B
C
#ifndef _keyValuePair_H_
|
|
#define _keyValuePair_H_
|
|
|
|
#include<string.h>
|
|
|
|
typedef struct keyValuePair_t {
|
|
char* key;
|
|
void* value;
|
|
} keyValuePair_t;
|
|
|
|
keyValuePair_t *keyValuePair_create(char *key, void *value);
|
|
|
|
keyValuePair_t* keyValuePair_create_allocate(char* key, double value);
|
|
|
|
void keyValuePair_free(keyValuePair_t *keyValuePair);
|
|
|
|
#endif /* _keyValuePair_H_ */ |