move header out of extern C
This commit is contained in:
parent
419982808b
commit
289da9d213
|
@ -10,8 +10,6 @@ extern "C" {
|
||||||
#import <objc/runtime.h>
|
#import <objc/runtime.h>
|
||||||
#import <dlfcn.h>
|
#import <dlfcn.h>
|
||||||
|
|
||||||
#import "shared_realm.hpp"
|
|
||||||
|
|
||||||
@interface NSObject ()
|
@interface NSObject ()
|
||||||
- (instancetype)initWithJSContext:(void *)context;
|
- (instancetype)initWithJSContext:(void *)context;
|
||||||
- (JSGlobalContextRef)ctx;
|
- (JSGlobalContextRef)ctx;
|
||||||
|
@ -46,6 +44,8 @@ JSGlobalContextRef RealmReactGetJSGlobalContextForExecutor(id executor, bool cre
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#import "shared_realm.hpp"
|
||||||
|
|
||||||
#if DEBUG
|
#if DEBUG
|
||||||
#import <GCDWebServers/GCDWebServers.h>
|
#import <GCDWebServers/GCDWebServers.h>
|
||||||
#import <RealmJS/RealmRPC.hpp>
|
#import <RealmJS/RealmRPC.hpp>
|
||||||
|
|
Loading…
Reference in New Issue