JavaScriptCore has a low-level C API, which is then wrapped in a higher-level Objective-C API. Ambly is currently using the Objective-C API.
This prevents Ambly from being used in situations where a JavaScriptCore build is being used where JSC_OBJC_API_ENABLED has not been #defined. In short, using the lower-level API makes Ambly much more composeable with other code that works at that level, while not precluding its use in situations where the Objective-C API is enabled.
JavaScriptCore has a low-level C API, which is then wrapped in a higher-level Objective-C API. Ambly is currently using the Objective-C API.
This prevents Ambly from being used in situations where a JavaScriptCore build is being used where
JSC_OBJC_API_ENABLED
has not been#define
d. In short, using the lower-level API makes Ambly much more composeable with other code that works at that level, while not precluding its use in situations where the Objective-C API is enabled.