* Make json_object_from_file take const char *filename
Spotted by Vikram Raj V, vsagar at attinteractive dot com git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@55 327403b1-1117-474d-bef2-5cb71233fd97
This commit is contained in:
@@ -21,7 +21,7 @@ extern "C" {
|
||||
#define JSON_FILE_BUF_SIZE 4096
|
||||
|
||||
/* utility functions */
|
||||
extern struct json_object* json_object_from_file(char *filename);
|
||||
extern struct json_object* json_object_from_file(const char *filename);
|
||||
extern int json_object_to_file(char *filename, struct json_object *obj);
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
Reference in New Issue
Block a user