The R Project SVN R-packages

Rev

Rev 7747 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7747 Rev 8509
Line 56... Line 56...
56
#include <float.h>
56
#include <float.h>
57
#include <stddef.h>
57
#include <stddef.h>
58
#include <stdio.h>
58
#include <stdio.h>
59
#include <stdlib.h>
59
#include <stdlib.h>
60
#include <string.h>
60
#include <string.h>
-
 
61
#include <stdbool.h>
61
 
62
 
62
#include "JSON_parser.h"
63
#include "JSON_parser.h"
63
#include "ConvertUTF.h"
64
#include "ConvertUTF.h"
64
 
65
 
65
 
66
 
66
#if _MSC_VER >= 1400 /* Visual Studio 2005 and up */
67
#if _MSC_VER >= 1400 /* Visual Studio 2005 and up */
67
#	pragma warning(disable:4996) // unsecure sscanf
68
#	pragma warning(disable:4996) // unsecure sscanf
68
#endif
69
#endif
69
 
70
 
70
 
71
/*
71
#define true  1
72
#define true  1
72
#define false 0
73
#define false 0
-
 
74
*/
73
#define __   -1     /* the universal error code */
75
#define __   -1     /* the universal error code */
74
 
76
 
75
/* values chosen so that the object size is approx equal to one page (4K) */
77
/* values chosen so that the object size is approx equal to one page (4K) */
76
#ifndef JSON_PARSER_STACK_SIZE
78
#ifndef JSON_PARSER_STACK_SIZE
77
#   define JSON_PARSER_STACK_SIZE 128
79
#   define JSON_PARSER_STACK_SIZE 128