Monotone-Parent: ce03c421dd517ee3c93be821faec36a023b0c257
Monotone-Revision: 57a727e9ea80a6a51f384904629a70663ad4bd98 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2010-11-30T21:04:58 Monotone-Branch: ca.inverse.sogomaint-2.0.2
parent
8b4f49e142
commit
36619aede3
|
@ -1,5 +1,8 @@
|
|||
2010-11-30 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* OpenChange/MAPIStoreTypes.h (MAPIPropertyNumber): changed the
|
||||
prototype to use an enum MAPITAGS instead of an int32_t.
|
||||
|
||||
* OpenChange/MAPIStoreContext.m
|
||||
(-getFolderTableChildproperty:atURL:withTag:inFolder:withFID:,-getMessageTableChildproperty:atURL:withTag:inFolder:withFID:)
|
||||
(-getCommonTableChildproperty:atURL:withTag:inFolder:withFID:):
|
||||
|
|
|
@ -38,21 +38,17 @@ uint64_t *MAPILongLongValue (void *memCtx, uint64_t value);
|
|||
id NSObjectFromSPropValue (const struct SPropValue *);
|
||||
id NSObjectFromStreamData (enum MAPITAGS property, NSData *streamData);
|
||||
|
||||
static inline NSNumber *
|
||||
MAPIPropertyNumber (enum MAPITAGS propTag)
|
||||
{
|
||||
#if (GS_SIZEOF_LONG == 4)
|
||||
static inline NSNumber *
|
||||
MAPIPropertyNumber (unsigned long propTag)
|
||||
{
|
||||
return [NSNumber numberWithUnsignedLong: propTag];
|
||||
}
|
||||
#elif (GS_SIZEOF_INT == 4)
|
||||
static inline NSNumber *
|
||||
MAPIPropertyNumber (unsigned int propTag)
|
||||
{
|
||||
return [NSNumber numberWithUnsignedInt: propTag];
|
||||
}
|
||||
#else
|
||||
#error No suitable type for 4 bytes integers
|
||||
#endif
|
||||
}
|
||||
|
||||
void MAPIStoreDumpMessageProperties (NSDictionary *properties);
|
||||
|
||||
|
|
Loading…
Reference in New Issue