Simone Civetta
02/03/2019, 12:59 PMos_log
functions in iOS/macOS ? In ObjC it comes from a macro declared in iPhoneSimulator.sdk/usr/include/os/log.h
but as such it doesn't seem to be visible in K/Nolonho
02/03/2019, 4:24 PMolonho
02/03/2019, 4:24 PMSimone Civetta
02/03/2019, 9:33 PMolonho
02/04/2019, 6:36 AMos_log
and os_log_with_type
it relies upon is declared as rather complex macro definition #define os_log_with_type(log, type, format, ...) __extension__({ \
os_log_t _log_tmp = (log); \
os_log_type_t _type_tmp = (type); \
if (os_log_type_enabled(_log_tmp, _type_tmp)) { \
OS_LOG_CALL_WITH_FORMAT(_os_log_impl, \
(&__dso_handle, _log_tmp, _type_tmp), format, ##__VA_ARGS__); \
} \
})
so interop tool cannot cope with it. However, adding C wrapper shall help in your case.