+2004-11-23 Richard Williamson <rjw@apple.com>
+
+ Fixed <rdar://problem/3890385> field and method cache incorrectly capped (c bindings)
+
+ Reviewed by Ken.
+
+ * bindings/c/c_class.cpp:
+ (CClass::_commonInit):
+
2004-11-21 Maciej Stachowiak <mjs@apple.com>
Reviewed by Ken.
void CClass::_commonInit (NPClass *aClass)
{
_isa = aClass;
- _methods = CFDictionaryCreateMutable(NULL, 16, &kCFTypeDictionaryKeyCallBacks, NULL);
- _fields = CFDictionaryCreateMutable(NULL, 16, &kCFTypeDictionaryKeyCallBacks, NULL);
+ _methods = CFDictionaryCreateMutable(NULL, 0, &kCFTypeDictionaryKeyCallBacks, NULL);
+ _fields = CFDictionaryCreateMutable(NULL, 0, &kCFTypeDictionaryKeyCallBacks, NULL);
}