Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add json_none declaration in json.c for C++ sugar

  • Loading branch information...
commit ddef95c37d0826fb21173ef42f4aeb074e18817e 1 parent 6b45f55
@udp udp authored
Showing with 6 additions and 0 deletions.
  1. +2 −0  AUTHORS
  2. +4 −0 json.c
View
2  AUTHORS
@@ -4,6 +4,8 @@ James McLaughlin
Alex Gartrell
Peter Scott
Mathias Kaerlev
+Emiel Mols
+
View
4 json.c
@@ -36,6 +36,10 @@
#endif
#endif
+#ifdef __cplusplus
+ const _json_value _json_value::_none;
+#endif
+
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
Please sign in to comment.
Something went wrong with that request. Please try again.