///
/// NitroIapAutolinking.mm
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
/// https://github.com/mrousavy/nitro
/// Copyright © Marc Rousavy @ Margelo
///

#import <Foundation/Foundation.h>
#import <NitroModules/HybridObjectRegistry.hpp>
#import "NitroIap-Swift-Cxx-Umbrella.hpp"
#import <type_traits>

#include "HybridRnIapSpecSwift.hpp"

@interface NitroIapAutolinking : NSObject
@end

@implementation NitroIapAutolinking

+ (void) load {
  using namespace margelo::nitro;
  using namespace margelo::nitro::iap;

  HybridObjectRegistry::registerHybridObjectConstructor(
    "RnIap",
    []() -> std::shared_ptr<HybridObject> {
      std::shared_ptr<HybridRnIapSpec> hybridObject = NitroIap::NitroIapAutolinking::createRnIap();
      return hybridObject;
    }
  );
}

@end
