this repo has no description
1/**
2 * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
3 *
4 * Do not edit this file as changes may cause incorrect behavior and will be lost
5 * once the code is regenerated.
6 *
7 * @generated by codegen project: GenerateModuleObjCpp
8 *
9 * We create an umbrella header (and corresponding implementation) here since
10 * Cxx compilation in BUCK has a limitation: source-code producing genrule()s
11 * must have a single output. More files => more genrule()s => slower builds.
12 */
13
14#import "safeareacontext.h"
15
16
17@implementation NativeSafeAreaContextSpecBase
18
19
20- (void)setEventEmitterCallback:(EventEmitterCallbackWrapper *)eventEmitterCallbackWrapper
21{
22 _eventEmitterCallback = std::move(eventEmitterCallbackWrapper->_eventEmitterCallback);
23}
24@end
25
26
27namespace facebook::react {
28
29 static facebook::jsi::Value __hostFunction_NativeSafeAreaContextSpecJSI_getConstants(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
30 return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, ObjectKind, "getConstants", @selector(getConstants), args, count);
31 }
32
33 NativeSafeAreaContextSpecJSI::NativeSafeAreaContextSpecJSI(const ObjCTurboModule::InitParams ¶ms)
34 : ObjCTurboModule(params) {
35
36 methodMap_["getConstants"] = MethodMetadata {0, __hostFunction_NativeSafeAreaContextSpecJSI_getConstants};
37
38 }
39} // namespace facebook::react