mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-05 08:34:30 +00:00
Monotone-Parent: fafa72b8e42848069a3affa9d8e8895134ebc136
Monotone-Revision: 34a150bec80d8bcacb0dffe7e4fbe342dc0b2d3d Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2011-05-31T05:06:26 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -31,7 +31,7 @@
|
||||
uint8_t *value;
|
||||
|
||||
value = talloc (memCtx, uint8_t);
|
||||
*value = [self boolValue];
|
||||
*value = ([self boolValue] ? 1 : 0);
|
||||
|
||||
return value;
|
||||
}
|
||||
@@ -56,6 +56,16 @@
|
||||
return value;
|
||||
}
|
||||
|
||||
- (uint64_t *) asI8InMemCtx: (void *) memCtx
|
||||
{
|
||||
uint64_t *value;
|
||||
|
||||
value = talloc (memCtx, uint64_t);
|
||||
*value = [self unsignedLongLongValue];
|
||||
|
||||
return value;
|
||||
}
|
||||
|
||||
- (double *) asDoubleInMemCtx: (void *) memCtx
|
||||
{
|
||||
double *value;
|
||||
|
||||
Reference in New Issue
Block a user