mirror of
https://github.com/DaveGamble/cJSON.git
synced 2026-07-31 15:17:46 +00:00
tests/common: use CJSON_PUBLIC
This commit is contained in:
+2
-2
@@ -25,8 +25,8 @@
|
||||
|
||||
#include "../cJSON.c"
|
||||
|
||||
extern void reset(cJSON *item);
|
||||
extern char *read_file(const char *filename);
|
||||
CJSON_PUBLIC(void) reset(cJSON *item);
|
||||
CJSON_PUBLIC(char*) read_file(const char *filename);
|
||||
|
||||
/* assertion helper macros */
|
||||
#define assert_has_type(item, item_type) TEST_ASSERT_BITS_MESSAGE(0xFF, item_type, item->type, "Item doesn't have expected type.")
|
||||
|
||||
Reference in New Issue
Block a user