WebCoreThreadMessage.h [plain text]
#ifndef WebCoreThreadMessage_h
#define WebCoreThreadMessage_h
#import <Foundation/Foundation.h>
#ifdef __OBJC__
#import "WebCoreThread.h"
#endif // __OBJC__
#if defined(__cplusplus)
extern "C" {
#endif
@interface NSObject(WebCoreThreadAdditions)
- (void)releaseOnMainThread;
@end
void WebCoreObjCDeallocOnWebThread(Class cls);
void WebCoreObjCDeallocWithWebThreadLock(Class cls);
void WebThreadCallAPI(NSInvocation *invocation);
void WebThreadAdoptAndRelease(id obj);
void WebThreadCallDelegate(NSInvocation *invocation);
void WebThreadCallDelegateAsync(NSInvocation *invocation);
void WebThreadPostNotification(NSString *name, id object, id userInfo);
NSInvocation *WebThreadMakeNSInvocation(id target, SEL selector);
#if defined(__cplusplus)
}
#endif
#endif // WebCoreThreadMessage_h