Browse Source

Fix library build with Visual Studio

tags/json-c-0.13-20171207
David Henot 8 years ago
parent
commit
a9f265d166
2 changed files with 63 additions and 57 deletions
  1. +54
    -48
      json_object.h
  2. +9
    -9
      json_tokener.h

+ 54
- 48
json_object.h View File

@@ -21,6 +21,12 @@
#define THIS_FUNCTION_IS_DEPRECATED(func) func #define THIS_FUNCTION_IS_DEPRECATED(func) func
#endif #endif


#if defined(_MSC_VER)
#define JSON_EXPORT __declspec(dllexport)
#else
#define JSON_EXPORT extern
#endif

#include <stddef.h> #include <stddef.h>
#include "json_inttypes.h" #include "json_inttypes.h"


@@ -160,7 +166,7 @@ typedef enum json_type {
* *
* @param obj the json_object instance * @param obj the json_object instance
*/ */
extern struct json_object* json_object_get(struct json_object *obj);
JSON_EXPORT struct json_object* json_object_get(struct json_object *obj);


/** /**
* Decrement the reference count of json_object and free if it reaches zero. * Decrement the reference count of json_object and free if it reaches zero.
@@ -170,7 +176,7 @@ extern struct json_object* json_object_get(struct json_object *obj);
* @param obj the json_object instance * @param obj the json_object instance
* @returns 1 if the object was freed. * @returns 1 if the object was freed.
*/ */
int json_object_put(struct json_object *obj);
JSON_EXPORT int json_object_put(struct json_object *obj);


/** /**
* Check if the json_object is of a given type * Check if the json_object is of a given type
@@ -184,7 +190,7 @@ int json_object_put(struct json_object *obj);
json_type_array, json_type_array,
json_type_string json_type_string
*/ */
extern int json_object_is_type(const struct json_object *obj, enum json_type type);
JSON_EXPORT int json_object_is_type(const struct json_object *obj, enum json_type type);


/** /**
* Get the type of the json_object. See also json_type_to_name() to turn this * Get the type of the json_object. See also json_type_to_name() to turn this
@@ -200,7 +206,7 @@ extern int json_object_is_type(const struct json_object *obj, enum json_type typ
json_type_array, json_type_array,
json_type_string json_type_string
*/ */
extern enum json_type json_object_get_type(const struct json_object *obj);
JSON_EXPORT enum json_type json_object_get_type(const struct json_object *obj);




/** Stringify object to json format. /** Stringify object to json format.
@@ -212,7 +218,7 @@ extern enum json_type json_object_get_type(const struct json_object *obj);
* @param obj the json_object instance * @param obj the json_object instance
* @returns a string in JSON format * @returns a string in JSON format
*/ */
extern const char* json_object_to_json_string(struct json_object *obj);
JSON_EXPORT const char* json_object_to_json_string(struct json_object *obj);


/** Stringify object to json format /** Stringify object to json format
* @see json_object_to_json_string() for details on how to free string. * @see json_object_to_json_string() for details on how to free string.
@@ -220,7 +226,7 @@ extern const char* json_object_to_json_string(struct json_object *obj);
* @param flags formatting options, see JSON_C_TO_STRING_PRETTY and other constants * @param flags formatting options, see JSON_C_TO_STRING_PRETTY and other constants
* @returns a string in JSON format * @returns a string in JSON format
*/ */
extern const char* json_object_to_json_string_ext(struct json_object *obj, int
JSON_EXPORT const char* json_object_to_json_string_ext(struct json_object *obj, int
flags); flags);


/** Stringify object to json format /** Stringify object to json format
@@ -230,7 +236,7 @@ flags);
* @param length a pointer where, if not NULL, the length (without null) is stored * @param length a pointer where, if not NULL, the length (without null) is stored
* @returns a string in JSON format and the length if not NULL * @returns a string in JSON format and the length if not NULL
*/ */
extern const char* json_object_to_json_string_length(struct json_object *obj, int
JSON_EXPORT const char* json_object_to_json_string_length(struct json_object *obj, int
flags, size_t *length); flags, size_t *length);


/** /**
@@ -239,7 +245,7 @@ flags, size_t *length);
* *
* @param jso the object to return the userdata for * @param jso the object to return the userdata for
*/ */
extern void* json_object_get_userdata(json_object *jso);
JSON_EXPORT void* json_object_get_userdata(json_object *jso);


/** /**
* Set an opaque userdata value for an object * Set an opaque userdata value for an object
@@ -266,7 +272,7 @@ extern void* json_object_get_userdata(json_object *jso);
* @param userdata an optional opaque cookie * @param userdata an optional opaque cookie
* @param user_delete an optional function from freeing userdata * @param user_delete an optional function from freeing userdata
*/ */
extern void json_object_set_userdata(json_object *jso, void *userdata,
JSON_EXPORT void json_object_set_userdata(json_object *jso, void *userdata,
json_object_delete_fn *user_delete); json_object_delete_fn *user_delete);


/** /**
@@ -299,7 +305,7 @@ extern void json_object_set_userdata(json_object *jso, void *userdata,
* @param userdata an optional opaque cookie * @param userdata an optional opaque cookie
* @param user_delete an optional function from freeing userdata * @param user_delete an optional function from freeing userdata
*/ */
extern void json_object_set_serializer(json_object *jso,
JSON_EXPORT void json_object_set_serializer(json_object *jso,
json_object_to_json_string_fn to_string_func, json_object_to_json_string_fn to_string_func,
void *userdata, void *userdata,
json_object_delete_fn *user_delete); json_object_delete_fn *user_delete);
@@ -337,18 +343,18 @@ json_object_to_json_string_fn json_object_userdata_to_json_string;
* *
* @returns a json_object of type json_type_object * @returns a json_object of type json_type_object
*/ */
extern struct json_object* json_object_new_object(void);
JSON_EXPORT struct json_object* json_object_new_object(void);


/** Get the hashtable of a json_object of type json_type_object /** Get the hashtable of a json_object of type json_type_object
* @param obj the json_object instance * @param obj the json_object instance
* @returns a linkhash * @returns a linkhash
*/ */
extern struct lh_table* json_object_get_object(const struct json_object *obj);
JSON_EXPORT struct lh_table* json_object_get_object(const struct json_object *obj);


/** Get the size of an object in terms of the number of fields it has. /** Get the size of an object in terms of the number of fields it has.
* @param obj the json_object whose length to return * @param obj the json_object whose length to return
*/ */
extern int json_object_object_length(const struct json_object* obj);
JSON_EXPORT int json_object_object_length(const struct json_object* obj);


/** Add an object field to a json_object of type json_type_object /** Add an object field to a json_object of type json_type_object
* *
@@ -369,7 +375,7 @@ extern int json_object_object_length(const struct json_object* obj);
* @return On success, <code>0</code> is returned. * @return On success, <code>0</code> is returned.
* On error, a negative value is returned. * On error, a negative value is returned.
*/ */
extern int json_object_object_add(struct json_object* obj, const char *key,
JSON_EXPORT int json_object_object_add(struct json_object* obj, const char *key,
struct json_object *val); struct json_object *val);


/** Add an object field to a json_object of type json_type_object /** Add an object field to a json_object of type json_type_object
@@ -385,7 +391,7 @@ extern int json_object_object_add(struct json_object* obj, const char *key,
* @param opts process-modifying options. To specify multiple options, use * @param opts process-modifying options. To specify multiple options, use
* arithmetic or (OPT1|OPT2) * arithmetic or (OPT1|OPT2)
*/ */
extern int json_object_object_add_ex(struct json_object* obj,
JSON_EXPORT int json_object_object_add_ex(struct json_object* obj,
const char *const key, const char *const key,
struct json_object *const val, struct json_object *const val,
const unsigned opts); const unsigned opts);
@@ -411,7 +417,7 @@ extern int json_object_object_add_ex(struct json_object* obj,
* @returns the json_object associated with the given field name * @returns the json_object associated with the given field name
* @deprecated Please use json_object_object_get_ex * @deprecated Please use json_object_object_get_ex
*/ */
extern struct json_object* json_object_object_get(const struct json_object* obj,
JSON_EXPORT struct json_object* json_object_object_get(const struct json_object* obj,
const char *key); const char *key);


/** Get the json_object associated with a given object field. /** Get the json_object associated with a given object field.
@@ -432,7 +438,7 @@ extern struct json_object* json_object_object_get(const struct json_object* obj,
* It is safe to pass a NULL value. * It is safe to pass a NULL value.
* @returns whether or not the key exists * @returns whether or not the key exists
*/ */
extern json_bool json_object_object_get_ex(const struct json_object* obj,
JSON_EXPORT json_bool json_object_object_get_ex(const struct json_object* obj,
const char *key, const char *key,
struct json_object **value); struct json_object **value);


@@ -445,7 +451,7 @@ extern json_bool json_object_object_get_ex(const struct json_object* obj,
* @param obj the json_object instance * @param obj the json_object instance
* @param key the object field name * @param key the object field name
*/ */
extern void json_object_object_del(struct json_object* obj, const char *key);
JSON_EXPORT void json_object_object_del(struct json_object* obj, const char *key);


/** /**
* Iterate through all keys and values of an object. * Iterate through all keys and values of an object.
@@ -504,19 +510,19 @@ extern void json_object_object_del(struct json_object* obj, const char *key);
/** Create a new empty json_object of type json_type_array /** Create a new empty json_object of type json_type_array
* @returns a json_object of type json_type_array * @returns a json_object of type json_type_array
*/ */
extern struct json_object* json_object_new_array(void);
JSON_EXPORT struct json_object* json_object_new_array(void);


/** Get the arraylist of a json_object of type json_type_array /** Get the arraylist of a json_object of type json_type_array
* @param obj the json_object instance * @param obj the json_object instance
* @returns an arraylist * @returns an arraylist
*/ */
extern struct array_list* json_object_get_array(const struct json_object *obj);
JSON_EXPORT struct array_list* json_object_get_array(const struct json_object *obj);


/** Get the length of a json_object of type json_type_array /** Get the length of a json_object of type json_type_array
* @param obj the json_object instance * @param obj the json_object instance
* @returns an int * @returns an int
*/ */
extern size_t json_object_array_length(const struct json_object *obj);
JSON_EXPORT size_t json_object_array_length(const struct json_object *obj);


/** Sorts the elements of jso of type json_type_array /** Sorts the elements of jso of type json_type_array
* *
@@ -526,7 +532,7 @@ extern size_t json_object_array_length(const struct json_object *obj);
* @param obj the json_object instance * @param obj the json_object instance
* @param sort_fn a sorting function * @param sort_fn a sorting function
*/ */
extern void json_object_array_sort(struct json_object *jso, int(*sort_fn)(const void *, const void *));
JSON_EXPORT void json_object_array_sort(struct json_object *jso, int(*sort_fn)(const void *, const void *));


/** Binary search a sorted array for a specified key object. /** Binary search a sorted array for a specified key object.
* *
@@ -542,7 +548,7 @@ extern void json_object_array_sort(struct json_object *jso, int(*sort_fn)(const
* *
* @return the wanted json_object instance * @return the wanted json_object instance
*/ */
extern struct json_object* json_object_array_bsearch(
JSON_EXPORT struct json_object* json_object_array_bsearch(
const struct json_object *key, const struct json_object *key,
const struct json_object *jso, const struct json_object *jso,
int (*sort_fn)(const void *, const void *)); int (*sort_fn)(const void *, const void *));
@@ -556,7 +562,7 @@ extern struct json_object* json_object_array_bsearch(
* @param obj the json_object instance * @param obj the json_object instance
* @param val the json_object to be added * @param val the json_object to be added
*/ */
extern int json_object_array_add(struct json_object *obj,
JSON_EXPORT int json_object_array_add(struct json_object *obj,
struct json_object *val); struct json_object *val);


/** Insert or replace an element at a specified index in an array (a json_object of type json_type_array) /** Insert or replace an element at a specified index in an array (a json_object of type json_type_array)
@@ -574,7 +580,7 @@ extern int json_object_array_add(struct json_object *obj,
* @param idx the index to insert the element at * @param idx the index to insert the element at
* @param val the json_object to be added * @param val the json_object to be added
*/ */
extern int json_object_array_put_idx(struct json_object *obj, size_t idx,
JSON_EXPORT int json_object_array_put_idx(struct json_object *obj, size_t idx,
struct json_object *val); struct json_object *val);


/** Get the element at specificed index of the array (a json_object of type json_type_array) /** Get the element at specificed index of the array (a json_object of type json_type_array)
@@ -582,7 +588,7 @@ extern int json_object_array_put_idx(struct json_object *obj, size_t idx,
* @param idx the index to get the element at * @param idx the index to get the element at
* @returns the json_object at the specified index (or NULL) * @returns the json_object at the specified index (or NULL)
*/ */
extern struct json_object* json_object_array_get_idx(const struct json_object *obj,
JSON_EXPORT struct json_object* json_object_array_get_idx(const struct json_object *obj,
size_t idx); size_t idx);


/** Delete an elements from a specified index in an array (a json_object of type json_type_array) /** Delete an elements from a specified index in an array (a json_object of type json_type_array)
@@ -596,7 +602,7 @@ extern struct json_object* json_object_array_get_idx(const struct json_object *o
* @param count the number of elements to delete * @param count the number of elements to delete
* @returns 0 if the elements were successfully deleted * @returns 0 if the elements were successfully deleted
*/ */
extern int json_object_array_del_idx(struct json_object *obj, size_t idx, size_t count);
JSON_EXPORT int json_object_array_del_idx(struct json_object *obj, size_t idx, size_t count);


/* json_bool type methods */ /* json_bool type methods */


@@ -604,7 +610,7 @@ extern int json_object_array_del_idx(struct json_object *obj, size_t idx, size_t
* @param b a json_bool TRUE or FALSE (1 or 0) * @param b a json_bool TRUE or FALSE (1 or 0)
* @returns a json_object of type json_type_boolean * @returns a json_object of type json_type_boolean
*/ */
extern struct json_object* json_object_new_boolean(json_bool b);
JSON_EXPORT struct json_object* json_object_new_boolean(json_bool b);


/** Get the json_bool value of a json_object /** Get the json_bool value of a json_object
* *
@@ -617,7 +623,7 @@ extern struct json_object* json_object_new_boolean(json_bool b);
* @param obj the json_object instance * @param obj the json_object instance
* @returns a json_bool * @returns a json_bool
*/ */
extern json_bool json_object_get_boolean(const struct json_object *obj);
JSON_EXPORT json_bool json_object_get_boolean(const struct json_object *obj);




/** Set the json_bool value of a json_object /** Set the json_bool value of a json_object
@@ -630,7 +636,7 @@ extern json_bool json_object_get_boolean(const struct json_object *obj);
* @param new_value the value to be set * @param new_value the value to be set
* @returns 1 if value is set correctly, 0 otherwise * @returns 1 if value is set correctly, 0 otherwise
*/ */
extern int json_object_set_boolean(struct json_object *obj,json_bool new_value);
JSON_EXPORT int json_object_set_boolean(struct json_object *obj,json_bool new_value);




/* int type methods */ /* int type methods */
@@ -641,14 +647,14 @@ extern int json_object_set_boolean(struct json_object *obj,json_bool new_value);
* @param i the integer * @param i the integer
* @returns a json_object of type json_type_int * @returns a json_object of type json_type_int
*/ */
extern struct json_object* json_object_new_int(int32_t i);
JSON_EXPORT struct json_object* json_object_new_int(int32_t i);




/** Create a new empty json_object of type json_type_int /** Create a new empty json_object of type json_type_int
* @param i the integer * @param i the integer
* @returns a json_object of type json_type_int * @returns a json_object of type json_type_int
*/ */
extern struct json_object* json_object_new_int64(int64_t i);
JSON_EXPORT struct json_object* json_object_new_int64(int64_t i);




/** Get the int value of a json_object /** Get the int value of a json_object
@@ -665,7 +671,7 @@ extern struct json_object* json_object_new_int64(int64_t i);
* @param obj the json_object instance * @param obj the json_object instance
* @returns an int * @returns an int
*/ */
extern int32_t json_object_get_int(const struct json_object *obj);
JSON_EXPORT int32_t json_object_get_int(const struct json_object *obj);


/** Set the int value of a json_object /** Set the int value of a json_object
* *
@@ -677,7 +683,7 @@ extern int32_t json_object_get_int(const struct json_object *obj);
* @param new_value the value to be set * @param new_value the value to be set
* @returns 1 if value is set correctly, 0 otherwise * @returns 1 if value is set correctly, 0 otherwise
*/ */
extern int json_object_set_int(struct json_object *obj,int new_value);
JSON_EXPORT int json_object_set_int(struct json_object *obj,int new_value);




/** Get the int value of a json_object /** Get the int value of a json_object
@@ -693,7 +699,7 @@ extern int json_object_set_int(struct json_object *obj,int new_value);
* @param obj the json_object instance * @param obj the json_object instance
* @returns an int64 * @returns an int64
*/ */
extern int64_t json_object_get_int64(const struct json_object *obj);
JSON_EXPORT int64_t json_object_get_int64(const struct json_object *obj);




/** Set the int64_t value of a json_object /** Set the int64_t value of a json_object
@@ -706,7 +712,7 @@ extern int64_t json_object_get_int64(const struct json_object *obj);
* @param new_value the value to be set * @param new_value the value to be set
* @returns 1 if value is set correctly, 0 otherwise * @returns 1 if value is set correctly, 0 otherwise
*/ */
extern int json_object_set_int64(struct json_object *obj,int64_t new_value);
JSON_EXPORT int json_object_set_int64(struct json_object *obj,int64_t new_value);




/* double type methods */ /* double type methods */
@@ -718,7 +724,7 @@ extern int json_object_set_int64(struct json_object *obj,int64_t new_value);
* @param d the double * @param d the double
* @returns a json_object of type json_type_double * @returns a json_object of type json_type_double
*/ */
extern struct json_object* json_object_new_double(double d);
JSON_EXPORT struct json_object* json_object_new_double(double d);


/** /**
* Create a new json_object of type json_type_double, using * Create a new json_object of type json_type_double, using
@@ -746,7 +752,7 @@ extern struct json_object* json_object_new_double(double d);
* @param d the numeric value of the double. * @param d the numeric value of the double.
* @param ds the string representation of the double. This will be copied. * @param ds the string representation of the double. This will be copied.
*/ */
extern struct json_object* json_object_new_double_s(double d, const char *ds);
JSON_EXPORT struct json_object* json_object_new_double_s(double d, const char *ds);




/** Serialize a json_object of type json_type_double to a string. /** Serialize a json_object of type json_type_double to a string.
@@ -768,7 +774,7 @@ extern struct json_object* json_object_new_double_s(double d, const char *ds);
* @param level Ignored. * @param level Ignored.
* @param flags Ignored. * @param flags Ignored.
*/ */
extern int json_object_double_to_json_string(struct json_object* jso,
JSON_EXPORT int json_object_double_to_json_string(struct json_object* jso,
struct printbuf *pb, struct printbuf *pb,
int level, int level,
int flags); int flags);
@@ -796,7 +802,7 @@ extern int json_object_double_to_json_string(struct json_object* jso,
* @param obj the json_object instance * @param obj the json_object instance
* @returns a double floating point number * @returns a double floating point number
*/ */
extern double json_object_get_double(const struct json_object *obj);
JSON_EXPORT double json_object_get_double(const struct json_object *obj);




/** Set the double value of a json_object /** Set the double value of a json_object
@@ -809,7 +815,7 @@ extern double json_object_get_double(const struct json_object *obj);
* @param new_value the value to be set * @param new_value the value to be set
* @returns 1 if value is set correctly, 0 otherwise * @returns 1 if value is set correctly, 0 otherwise
*/ */
extern int json_object_set_double(struct json_object *obj,double new_value);
JSON_EXPORT int json_object_set_double(struct json_object *obj,double new_value);






@@ -822,9 +828,9 @@ extern int json_object_set_double(struct json_object *obj,double new_value);
* @param s the string * @param s the string
* @returns a json_object of type json_type_string * @returns a json_object of type json_type_string
*/ */
extern struct json_object* json_object_new_string(const char *s);
JSON_EXPORT struct json_object* json_object_new_string(const char *s);


extern struct json_object* json_object_new_string_len(const char *s, int len);
JSON_EXPORT struct json_object* json_object_new_string_len(const char *s, int len);


/** Get the string value of a json_object /** Get the string value of a json_object
* *
@@ -842,7 +848,7 @@ extern struct json_object* json_object_new_string_len(const char *s, int len);
* @param obj the json_object instance * @param obj the json_object instance
* @returns a string or NULL * @returns a string or NULL
*/ */
extern const char* json_object_get_string(struct json_object *obj);
JSON_EXPORT const char* json_object_get_string(struct json_object *obj);


/** Get the string length of a json_object /** Get the string length of a json_object
* *
@@ -852,14 +858,14 @@ extern const char* json_object_get_string(struct json_object *obj);
* @param obj the json_object instance * @param obj the json_object instance
* @returns int * @returns int
*/ */
extern int json_object_get_string_len(const struct json_object *obj);
JSON_EXPORT int json_object_get_string_len(const struct json_object *obj);




/** Set the string value of a json_object with zero terminated strings /** Set the string value of a json_object with zero terminated strings
* equivalent to json_object_set_string_len (obj, new_value, strlen(new_value)) * equivalent to json_object_set_string_len (obj, new_value, strlen(new_value))
* @returns 1 if value is set correctly, 0 otherwise * @returns 1 if value is set correctly, 0 otherwise
*/ */
extern int json_object_set_string(json_object* obj, const char* new_value);
JSON_EXPORT int json_object_set_string(json_object* obj, const char* new_value);


/** Set the string value of a json_object str /** Set the string value of a json_object str
* *
@@ -872,7 +878,7 @@ extern int json_object_set_string(json_object* obj, const char* new_value);
* @param len the length of new_value * @param len the length of new_value
* @returns 1 if value is set correctly, 0 otherwise * @returns 1 if value is set correctly, 0 otherwise
*/ */
extern int json_object_set_string_len(json_object* obj, const char* new_value, int len);
JSON_EXPORT int json_object_set_string_len(json_object* obj, const char* new_value, int len);


/** Check if two json_object's are equal /** Check if two json_object's are equal
* *
@@ -891,7 +897,7 @@ extern int json_object_set_string_len(json_object* obj, const char* new_value, i
* @param obj2 the second json_object instance * @param obj2 the second json_object instance
* @returns whether both objects are equal or not * @returns whether both objects are equal or not
*/ */
extern int json_object_equal(struct json_object *obj1,
JSON_EXPORT int json_object_equal(struct json_object *obj1,
struct json_object *obj2); struct json_object *obj2);


#ifdef __cplusplus #ifdef __cplusplus


+ 9
- 9
json_tokener.h View File

@@ -116,19 +116,19 @@ const char *json_tokener_error_desc(enum json_tokener_error jerr);
* *
* See also json_tokener_error_desc(). * See also json_tokener_error_desc().
*/ */
enum json_tokener_error json_tokener_get_error(struct json_tokener *tok);
JSON_EXPORT enum json_tokener_error json_tokener_get_error(struct json_tokener *tok);


extern struct json_tokener* json_tokener_new(void);
extern struct json_tokener* json_tokener_new_ex(int depth);
extern void json_tokener_free(struct json_tokener *tok);
extern void json_tokener_reset(struct json_tokener *tok);
extern struct json_object* json_tokener_parse(const char *str);
extern struct json_object* json_tokener_parse_verbose(const char *str, enum json_tokener_error *error);
JSON_EXPORT struct json_tokener* json_tokener_new(void);
JSON_EXPORT struct json_tokener* json_tokener_new_ex(int depth);
JSON_EXPORT void json_tokener_free(struct json_tokener *tok);
JSON_EXPORT void json_tokener_reset(struct json_tokener *tok);
JSON_EXPORT struct json_object* json_tokener_parse(const char *str);
JSON_EXPORT struct json_object* json_tokener_parse_verbose(const char *str, enum json_tokener_error *error);


/** /**
* Set flags that control how parsing will be done. * Set flags that control how parsing will be done.
*/ */
extern void json_tokener_set_flags(struct json_tokener *tok, int flags);
JSON_EXPORT void json_tokener_set_flags(struct json_tokener *tok, int flags);


/** /**
* Parse a string and return a non-NULL json_object if a valid JSON value * Parse a string and return a non-NULL json_object if a valid JSON value
@@ -198,7 +198,7 @@ if (tok->char_offset < stringlen) // XXX shouldn't access internal fields
* @param str an string with any valid JSON expression, or portion of. This does not need to be null terminated. * @param str an string with any valid JSON expression, or portion of. This does not need to be null terminated.
* @param len the length of str * @param len the length of str
*/ */
extern struct json_object* json_tokener_parse_ex(struct json_tokener *tok,
JSON_EXPORT struct json_object* json_tokener_parse_ex(struct json_tokener *tok,
const char *str, int len); const char *str, int len);


#ifdef __cplusplus #ifdef __cplusplus


Loading…
Cancel
Save