dump: Revise whitespace usage
[jansson.git] / src / jansson.h
index aff76e6..a3a97e0 100644 (file)
 #include <stdio.h>
 #include <stdint.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /* types */
 
 typedef enum {
@@ -139,9 +143,14 @@ json_t *json_loadf(FILE *input, json_error_t *error);
 json_t *json_load_file(const char *path, json_error_t *error);
 
 #define JSON_INDENT(n)   (n & 0xFF)
+#define JSON_COMPACT     0x100
 
 char *json_dumps(const json_t *json, unsigned long flags);
 int json_dumpf(const json_t *json, FILE *output, unsigned long flags);
 int json_dump_file(const json_t *json, const char *path, unsigned long flags);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif