Monotone-Parent: 5db151dfdbd8711e6bd1379346b3f6d6886bfbf1
Monotone-Revision: 173c16ed57e319da55ef0f43152bfbba829d1119 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2011-05-30T22:07:21 Monotone-Branch: ca.inverse.sogomaint-2.0.2
parent
59faa3a7bd
commit
0c99e04252
|
@ -1,5 +1,10 @@
|
|||
2011-05-30 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* OpenChange/code-MAPIStorePropertySelectors.m
|
||||
(MAPIStorePropertyGettersForClass): insert the newly created table
|
||||
in the hash in order to avoid a leak... and to enable it to be
|
||||
found during the next search.
|
||||
|
||||
* SoObjects/SOGo/SOGoContentObject.m (-version, -createDate)
|
||||
(-lastModified): new accessors that return the value of the
|
||||
corresponding ivar.
|
||||
|
|
|
@ -23,6 +23,9 @@
|
|||
#import <Foundation/NSMapTable.h>
|
||||
#import <NGExtensions/NGLogger.h>
|
||||
|
||||
#undef DEBUG
|
||||
#include <mapistore/mapistore.h>
|
||||
|
||||
const MAPIStorePropertyGetter *
|
||||
MAPIStorePropertyGettersForClass (Class klass)
|
||||
{
|
||||
|
@ -41,6 +44,7 @@ MAPIStorePropertyGettersForClass (Class klass)
|
|||
if (!getters)
|
||||
{
|
||||
getters = NSZoneCalloc (NULL, 65536, sizeof (MAPIStorePropertyGetter));
|
||||
NSMapInsert (classesTable, klass, getters);
|
||||
for (count = 0; count < 65535; count++)
|
||||
{
|
||||
idx = MAPIStorePropertyGettersIdx[count];
|
||||
|
|
Loading…
Reference in New Issue