add: injectGlobalJSObject
This commit is contained in:
@@ -27,3 +27,11 @@ void DoricLog(NSString *_Nonnull format, ...);
|
||||
UIColor *_Nonnull DoricColor(NSNumber *_Nonnull number);
|
||||
|
||||
NSBundle *DoricBundle();
|
||||
|
||||
#ifndef DC_LOCK
|
||||
#define DC_LOCK(lock) dispatch_semaphore_wait(lock, DISPATCH_TIME_FOREVER);
|
||||
#endif
|
||||
|
||||
#ifndef DC_UNLOCK
|
||||
#define DC_UNLOCK(lock) dispatch_semaphore_signal(lock);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user