diff options
author | comex | 2015-07-12 17:49:43 -0400 |
---|---|---|
committer | comex | 2015-07-12 17:49:43 -0400 |
commit | fc1752a7c3e90ec7d604e9a148482c106672c27b (patch) | |
tree | 2ef55bf39cc01ef7893fb650189fbdb4a0de0026 /lib/darwin/xxpc.h | |
parent | redo crash reporting - untested (but it compiles) (diff) | |
download | substitute-fc1752a7c3e90ec7d604e9a148482c106672c27b.tar.gz |
fixes
Diffstat (limited to '')
-rw-r--r-- | lib/darwin/xxpc.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/darwin/xxpc.h b/lib/darwin/xxpc.h index 4b5e175..7df28f6 100644 --- a/lib/darwin/xxpc.h +++ b/lib/darwin/xxpc.h @@ -20,6 +20,7 @@ typedef void (^xxpc_handler_t)(xxpc_object_t); static const xxpc_object_t name = DC_CAST &x_##name DEFINE_CONST(XXPC_TYPE_CONNECTION, _xpc_type_connection); +DEFINE_CONST(XXPC_TYPE_BOOL, _xpc_type_error); DEFINE_CONST(XXPC_TYPE_ERROR, _xpc_type_error); DEFINE_CONST(XXPC_TYPE_DICTIONARY, _xpc_type_dictionary); DEFINE_CONST(XXPC_TYPE_ARRAY, _xpc_type_array); @@ -43,6 +44,9 @@ xxpc_object_t WRAP(xpc_retain, (xxpc_object_t)); #endif char *WRAP(xpc_copy_description, (xxpc_object_t)); +#if OS_OBJECT_USE_OBJC +__attribute__((ns_returns_autoreleased)) +#endif xxpc_type_t WRAP(xpc_get_type, (xxpc_object_t)); xxpc_object_t WRAP(xpc_string_create, (const char *)); const char *WRAP(xpc_string_get_string_ptr, (xxpc_object_t)); |