fix typo in json_object.h
git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@28 327403b1-1117-474d-bef2-5cb71233fd97
This commit is contained in:
@@ -243,7 +243,7 @@ struct json_object* json_object_new_object()
|
||||
if(!this) return NULL;
|
||||
this->_delete = &json_object_object_delete;
|
||||
this->_to_json_string = &json_object_object_to_json_string;
|
||||
this->o.c_object = lh_kchar_table_new(JSON_OBJECT_DEF_HASH_ENTIRES,
|
||||
this->o.c_object = lh_kchar_table_new(JSON_OBJECT_DEF_HASH_ENTRIES,
|
||||
NULL, &json_object_lh_entry_free);
|
||||
return this;
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
#ifndef _json_object_h_
|
||||
#define _json_object_h_
|
||||
|
||||
#define JSON_OBJECT_DEF_HASH_ENTIRES 16
|
||||
#define JSON_OBJECT_DEF_HASH_ENTRIES 16
|
||||
|
||||
#undef FALSE
|
||||
#define FALSE ((boolean)0)
|
||||
|
||||
Reference in New Issue
Block a user