/*
 * Copyright © Dynamsoft Corporation. All rights reserved.
 *
 */

#import <DynamsoftCaptureVisionBundle/DynamsoftCaptureVisionBundle.h>
#import <React/RCTLog.h>

// RCTLogError/RCTLogWarn etc. are C preprocessor macros and cannot be called
// directly from Swift, so route through a thin inline wrapper instead.
NS_INLINE void RNDynamsoftLogError(NSString *message) {
    RCTLogError(@"%@", message);
}

// DSDrawingLayerId is an NS_ENUM whose Swift-imported case names aren't guaranteed
// stable across SDK versions, so pin the raw values under unambiguous names instead.
static const NSInteger RNDSDrawingLayerIdDBR = DSDrawingLayerIdDBR;
static const NSInteger RNDSDrawingLayerIdDDN = DSDrawingLayerIdDDN;
static const NSInteger RNDSDrawingLayerIdDLR = DSDrawingLayerIdDLR;
