* Fix bug in escaping of control characters

Johan Bj�rklund, johbjo09 at kth dot se
  * Remove include "config.h" from headers (should only
    be included from .c files)
    Michael Clark <michael@metaparadigm.com>


git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@12 327403b1-1117-474d-bef2-5cb71233fd97
This commit is contained in:
Michael Clark
2007-03-13 08:26:25 +00:00
parent f6a6e486ff
commit 837240f75f
11 changed files with 39 additions and 60 deletions

View File

@@ -1,5 +1,5 @@
/*
* $Id: json_tokener.h,v 1.8 2006/01/26 02:16:28 mclark Exp $
* $Id: json_tokener.h,v 1.9 2006/01/30 23:07:57 mclark Exp $
*
* Copyright (c) 2004, 2005 Metaparadigm Pte. Ltd.
* Michael Clark <michael@metaparadigm.com>
@@ -12,7 +12,6 @@
#ifndef _json_tokener_h_
#define _json_tokener_h_
#include "config.h"
#include "json_object.h"
enum json_tokener_error {
@@ -59,17 +58,6 @@ struct json_tokener
struct printbuf *pb;
};
#if !HAVE_STRNCASECMP && defined(_MSC_VER)
/* MSC has the version as _strnicmp */
# define strncasecmp _strnicmp
#elif !HAVE_STRNCASECMP
# error You do not have strncasecmp on your system.
#endif /* HAVE_STRNCASECMP */
#if !HAVE_STRNDUP
char* strndup(const char* str, size_t n);
#endif /* !HAVE_STRNDUP */
extern struct json_object* json_tokener_parse(char *s);
#endif