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:
Michael Clark
2009-01-10 13:58:06 +00:00
parent 68cafad078
commit e6548a3dc2
2 changed files with 2 additions and 2 deletions

View File

@@ -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;
}

View File

@@ -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)