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

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

#include "HybridRNCandleSpecSwift.hpp"

@interface ReactNativeCandleAutolinking : NSObject
@end

@implementation ReactNativeCandleAutolinking

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

  HybridObjectRegistry::registerHybridObjectConstructor(
    "RNCandle",
    []() -> std::shared_ptr<HybridObject> {
      std::shared_ptr<HybridRNCandleSpec> hybridObject = ReactNativeCandle::ReactNativeCandleAutolinking::createRNCandle();
      return hybridObject;
    }
  );
}

@end
