mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-19 18:35:25 +00:00
Monotone-Parent: e5be024d92916be1586d601d50ed79f354eda2c7
Monotone-Revision: 1e532558ba17916d33138e4c65d283faf4d0e929 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2012-03-02T20:43:00 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -52,7 +52,7 @@
|
||||
return mvResult;
|
||||
}
|
||||
|
||||
+ (id) arrayFromMAPIMVUnicode: (struct mapi_SPLSTRArrayW *) mvUnicode
|
||||
+ (id) arrayFromMAPIMVUnicode: (struct mapi_SLPSTRArrayW *) mvUnicode
|
||||
{
|
||||
NSUInteger count;
|
||||
NSString *subObject;
|
||||
@@ -185,7 +185,7 @@
|
||||
return mvResult;
|
||||
}
|
||||
|
||||
+ (id) arrayFromMVUnicode: (const struct WStringArray_r *) mvUnicode
|
||||
+ (id) arrayFromMVUnicode: (const struct StringArrayW_r *) mvUnicode
|
||||
{
|
||||
NSUInteger count;
|
||||
NSString *subObject;
|
||||
@@ -201,14 +201,14 @@
|
||||
return mvResult;
|
||||
}
|
||||
|
||||
- (struct WStringArray_r *) asMVUnicodeInMemCtx: (void *) memCtx
|
||||
- (struct StringArrayW_r *) asMVUnicodeInMemCtx: (void *) memCtx
|
||||
{
|
||||
struct WStringArray_r *list;
|
||||
struct StringArrayW_r *list;
|
||||
NSInteger count, max;
|
||||
|
||||
max = [self count];
|
||||
|
||||
list = talloc_zero (memCtx, struct WStringArray_r);
|
||||
list = talloc_zero (memCtx, struct StringArrayW_r);
|
||||
list->cValues = max;
|
||||
list->lppszW = talloc_array (list, const char *, max);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user