move header out of extern C

This commit is contained in:
Ari Lazier 2015-11-17 12:46:22 -08:00
parent 419982808b
commit 289da9d213
1 changed files with 2 additions and 2 deletions

View File

@ -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>