Monotone-Parent: e356443889853160f98a31849aede88bc4bac6bd
Monotone-Revision: cdceff0f0c850bdd8d0af588d8e4b75eb75634a5 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2010-12-30T14:50:48 Monotone-Branch: ca.inverse.sogomaint-2.0.2
parent
a18e6f3dbf
commit
999c469a3e
|
@ -1,5 +1,8 @@
|
|||
2010-12-30 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* OpenChange/NSValue+MAPIStore.m (-asDoubleInMemCtx): really
|
||||
returns a double rather than an uint64_t.
|
||||
|
||||
* OpenChange/MAPIStoreTypes.m (MAPIDoubleValue): new wrapper
|
||||
methods for generating data of "double" type.
|
||||
(NSObjectFromMAPISPropValue, NSObjectFromSPropValue): now handle
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
- (uint8_t *) asBooleanInMemCtx: (void *) memCtx;
|
||||
- (uint16_t *) asShortInMemCtx: (void *) memCtx;
|
||||
- (uint32_t *) asLongInMemCtx: (void *) memCtx;
|
||||
- (uint64_t *) asDoubleInMemCtx: (void *) memCtx;
|
||||
- (double *) asDoubleInMemCtx: (void *) memCtx;
|
||||
|
||||
@end
|
||||
|
||||
|
|
|
@ -56,11 +56,11 @@
|
|||
return value;
|
||||
}
|
||||
|
||||
- (uint64_t *) asDoubleInMemCtx: (void *) memCtx
|
||||
- (double *) asDoubleInMemCtx: (void *) memCtx
|
||||
{
|
||||
uint64_t *value;
|
||||
double *value;
|
||||
|
||||
value = talloc (memCtx, uint64_t);
|
||||
value = talloc (memCtx, double);
|
||||
*value = [self doubleValue];
|
||||
|
||||
return value;
|
||||
|
|
Loading…
Reference in New Issue