// AUTOGENERATED FILE - DO NOT MODIFY!
// This file generated by Djinni from constants.djinni

#import "DBConstants.h"
#import "DBConstants.h"

#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wunused-variable"

const BOOL DBConstantsBoolConstant = YES;

const int8_t DBConstantsI8Constant = 1;

const int16_t DBConstantsI16Constant = 2;

const int32_t DBConstantsI32Constant = 3;

const int64_t DBConstantsI64Constant = 4;

const double DBConstantsF64Constant = 5.0;

NSString * const DBConstantsStringConstant = @"string-constant";

NSNumber * const DBConstantsOptionalIntegerConstant = @1;

DBConstants * const DBConstantsObjectConstant = [[DBConstants alloc] initWithSomeInteger:DBConstantsI32Constant
        someString:DBConstantsStringConstant];

#pragma clang diagnostic pop

@implementation DBConstants

- (id)initWithConstants:(DBConstants *)constants
{
    if (self = [super init]) {
        _someInteger = constants.someInteger;
        _someString = [constants.someString copy];
    }
    return self;
}

- (id)initWithSomeInteger:(int32_t)someInteger
               someString:(NSString *)someString
{
    if (self = [super init]) {
        _someInteger = someInteger;
        _someString = [someString copy];
    }
    return self;
}


@end
