mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-18 04:55:56 +00:00
oc: Use enum mapistore_error instead of int
This specifies a little the scope of the variable to make it more realistic with the actual values it may have. We do have a static typed compiled language, why don't we use it?
This commit is contained in:
@@ -20,8 +20,8 @@
|
||||
* Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
typedef int (*MAPIStorePropertyGetter) (id inst, SEL _cmd,
|
||||
void **data, TALLOC_CTX *memCtx);
|
||||
typedef enum mapistore_error (*MAPIStorePropertyGetter) (id inst, SEL _cmd,
|
||||
void **data, TALLOC_CTX *memCtx);
|
||||
|
||||
const MAPIStorePropertyGetter *MAPIStorePropertyGettersForClass (Class klass);
|
||||
SEL MAPIStoreSelectorForPropertyGetter (uint16_t propertyId);
|
||||
|
||||
Reference in New Issue
Block a user