/**
 * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
 *
 * Do not edit this file as changes may cause incorrect behavior and will be lost
 * once the code is regenerated.
 *
 * @generated by codegen project: GenerateModuleObjCpp
 *
 * We create an umbrella header (and corresponding implementation) here since
 * Cxx compilation in BUCK has a limitation: source-code producing genrule()s
 * must have a single output. More files => more genrule()s => slower builds.
 */

#import "RNPdfFromImageSpec.h"


@implementation NativePdfFromImageSpecBase


- (void)setEventEmitterCallback:(EventEmitterCallbackWrapper *)eventEmitterCallbackWrapper
{
  _eventEmitterCallback = std::move(eventEmitterCallbackWrapper->_eventEmitterCallback);
}
@end

@implementation RCTCxxConvert (NativePdfFromImage_ImageObjectNativePaperSize)
+ (RCTManagedPointer *)JS_NativePdfFromImage_ImageObjectNativePaperSize:(id)json
{
  return facebook::react::managedPointer<JS::NativePdfFromImage::ImageObjectNativePaperSize>(json);
}
@end
@implementation RCTCxxConvert (NativePdfFromImage_ImageObjectNative)
+ (RCTManagedPointer *)JS_NativePdfFromImage_ImageObjectNative:(id)json
{
  return facebook::react::managedPointer<JS::NativePdfFromImage::ImageObjectNative>(json);
}
@end
namespace facebook::react {
  
    static facebook::jsi::Value __hostFunction_NativePdfFromImageSpecJSI_createPdf(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
      return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, ObjectKind, "createPdf", @selector(createPdf:), args, count);
    }

  NativePdfFromImageSpecJSI::NativePdfFromImageSpecJSI(const ObjCTurboModule::InitParams &params)
    : ObjCTurboModule(params) {
      
        methodMap_["createPdf"] = MethodMetadata {1, __hostFunction_NativePdfFromImageSpecJSI_createPdf};
        setMethodArgConversionSelector(@"createPdf", 0, @"JS_NativePdfFromImage_ImageObjectNative:");
  }
} // namespace facebook::react
