#import <objc/runtime.h>
#import "allincludes.h"
#import <NFIUtility/CallbackSupport.h>
#import <NFIUtility/PointerSupport.h>
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wformat-security"
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
#pragma clang diagnostic ignored "-Wincompatible-pointer-types"
#pragma clang diagnostic ignored "-Wnullability-completeness"
@implementation NSUnitConverterLinear (Exports)
-(id) jsinitWithCoefficient: (double) coefficient 
{
	id resultVal__;
	resultVal__ = [[self initWithCoefficient: coefficient ] autorelease];
	return resultVal__;
}
-(id) jsinitWithCoefficient: (double) coefficient constant: (double) constant 
{
	id resultVal__;
	resultVal__ = [[self initWithCoefficient: coefficient constant: constant ] autorelease];
	return resultVal__;
}
-(id) jsinitWithCoder: (NSCoder *) coder 
{
	id resultVal__;
	resultVal__ = [[self initWithCoder: coder ] autorelease];
	return resultVal__;
}
@end
@implementation NSUnit (Exports)
-(id) jsinitWithSymbol: (NSString *) symbol 
{
	id resultVal__;
	resultVal__ = [[self initWithSymbol: symbol ] autorelease];
	return resultVal__;
}
-(id) jsinitWithCoder: (NSCoder *) coder 
{
	id resultVal__;
	resultVal__ = [[self initWithCoder: coder ] autorelease];
	return resultVal__;
}
@end
@implementation NSDimension (Exports)
-(id) jsinitWithSymbol: (NSString *) symbol converter: (NSUnitConverter *) converter 
{
	id resultVal__;
	resultVal__ = [[self initWithSymbol: symbol converter: converter ] autorelease];
	return resultVal__;
}
-(id) jsinitWithCoder: (NSCoder *) coder 
{
	id resultVal__;
	resultVal__ = [[self initWithCoder: coder ] autorelease];
	return resultVal__;
}
@end
@implementation NSUnitAcceleration (Exports)
-(id) jsinitWithCoder: (NSCoder *) coder 
{
	id resultVal__;
	resultVal__ = [[self initWithCoder: coder ] autorelease];
	return resultVal__;
}
@end
@implementation NSUnitAngle (Exports)
-(id) jsinitWithCoder: (NSCoder *) coder 
{
	id resultVal__;
	resultVal__ = [[self initWithCoder: coder ] autorelease];
	return resultVal__;
}
@end
@implementation NSUnitArea (Exports)
-(id) jsinitWithCoder: (NSCoder *) coder 
{
	id resultVal__;
	resultVal__ = [[self initWithCoder: coder ] autorelease];
	return resultVal__;
}
@end
@implementation NSUnitConcentrationMass (Exports)
-(id) jsinitWithCoder: (NSCoder *) coder 
{
	id resultVal__;
	resultVal__ = [[self initWithCoder: coder ] autorelease];
	return resultVal__;
}
@end
@implementation NSUnitDispersion (Exports)
-(id) jsinitWithCoder: (NSCoder *) coder 
{
	id resultVal__;
	resultVal__ = [[self initWithCoder: coder ] autorelease];
	return resultVal__;
}
@end
@implementation NSUnitDuration (Exports)
-(id) jsinitWithCoder: (NSCoder *) coder 
{
	id resultVal__;
	resultVal__ = [[self initWithCoder: coder ] autorelease];
	return resultVal__;
}
@end
@implementation NSUnitElectricCharge (Exports)
-(id) jsinitWithCoder: (NSCoder *) coder 
{
	id resultVal__;
	resultVal__ = [[self initWithCoder: coder ] autorelease];
	return resultVal__;
}
@end
@implementation NSUnitElectricCurrent (Exports)
-(id) jsinitWithCoder: (NSCoder *) coder 
{
	id resultVal__;
	resultVal__ = [[self initWithCoder: coder ] autorelease];
	return resultVal__;
}
@end
@implementation NSUnitElectricPotentialDifference (Exports)
-(id) jsinitWithCoder: (NSCoder *) coder 
{
	id resultVal__;
	resultVal__ = [[self initWithCoder: coder ] autorelease];
	return resultVal__;
}
@end
@implementation NSUnitElectricResistance (Exports)
-(id) jsinitWithCoder: (NSCoder *) coder 
{
	id resultVal__;
	resultVal__ = [[self initWithCoder: coder ] autorelease];
	return resultVal__;
}
@end
@implementation NSUnitEnergy (Exports)
-(id) jsinitWithCoder: (NSCoder *) coder 
{
	id resultVal__;
	resultVal__ = [[self initWithCoder: coder ] autorelease];
	return resultVal__;
}
@end
@implementation NSUnitFrequency (Exports)
-(id) jsinitWithCoder: (NSCoder *) coder 
{
	id resultVal__;
	resultVal__ = [[self initWithCoder: coder ] autorelease];
	return resultVal__;
}
@end
@implementation NSUnitFuelEfficiency (Exports)
-(id) jsinitWithCoder: (NSCoder *) coder 
{
	id resultVal__;
	resultVal__ = [[self initWithCoder: coder ] autorelease];
	return resultVal__;
}
@end
@implementation NSUnitInformationStorage (Exports)
-(id) jsinitWithCoder: (NSCoder *) coder 
{
	id resultVal__;
	resultVal__ = [[self initWithCoder: coder ] autorelease];
	return resultVal__;
}
@end
@implementation NSUnitLength (Exports)
-(id) jsinitWithCoder: (NSCoder *) coder 
{
	id resultVal__;
	resultVal__ = [[self initWithCoder: coder ] autorelease];
	return resultVal__;
}
@end
@implementation NSUnitIlluminance (Exports)
-(id) jsinitWithCoder: (NSCoder *) coder 
{
	id resultVal__;
	resultVal__ = [[self initWithCoder: coder ] autorelease];
	return resultVal__;
}
@end
@implementation NSUnitMass (Exports)
-(id) jsinitWithCoder: (NSCoder *) coder 
{
	id resultVal__;
	resultVal__ = [[self initWithCoder: coder ] autorelease];
	return resultVal__;
}
@end
@implementation NSUnitPower (Exports)
-(id) jsinitWithCoder: (NSCoder *) coder 
{
	id resultVal__;
	resultVal__ = [[self initWithCoder: coder ] autorelease];
	return resultVal__;
}
@end
@implementation NSUnitPressure (Exports)
-(id) jsinitWithCoder: (NSCoder *) coder 
{
	id resultVal__;
	resultVal__ = [[self initWithCoder: coder ] autorelease];
	return resultVal__;
}
@end
@implementation NSUnitSpeed (Exports)
-(id) jsinitWithCoder: (NSCoder *) coder 
{
	id resultVal__;
	resultVal__ = [[self initWithCoder: coder ] autorelease];
	return resultVal__;
}
@end
@implementation NSUnitTemperature (Exports)
-(id) jsinitWithCoder: (NSCoder *) coder 
{
	id resultVal__;
	resultVal__ = [[self initWithCoder: coder ] autorelease];
	return resultVal__;
}
@end
@implementation NSUnitVolume (Exports)
-(id) jsinitWithCoder: (NSCoder *) coder 
{
	id resultVal__;
	resultVal__ = [[self initWithCoder: coder ] autorelease];
	return resultVal__;
}
@end
static void addProtocols()
{
	class_addProtocol([NSUnitConverter class], @protocol(NSUnitConverterInstanceExports));
	class_addProtocol([NSUnitConverter class], @protocol(NSUnitConverterClassExports));
	class_addProtocol([NSUnitConverterLinear class], @protocol(NSUnitConverterLinearInstanceExports));
	class_addProtocol([NSUnitConverterLinear class], @protocol(NSUnitConverterLinearClassExports));
	class_addProtocol([NSUnit class], @protocol(NSUnitInstanceExports));
	class_addProtocol([NSUnit class], @protocol(NSUnitClassExports));
	class_addProtocol([NSDimension class], @protocol(NSDimensionInstanceExports));
	class_addProtocol([NSDimension class], @protocol(NSDimensionClassExports));
	class_addProtocol([NSUnitAcceleration class], @protocol(NSUnitAccelerationInstanceExports));
	class_addProtocol([NSUnitAcceleration class], @protocol(NSUnitAccelerationClassExports));
	class_addProtocol([NSUnitAngle class], @protocol(NSUnitAngleInstanceExports));
	class_addProtocol([NSUnitAngle class], @protocol(NSUnitAngleClassExports));
	class_addProtocol([NSUnitArea class], @protocol(NSUnitAreaInstanceExports));
	class_addProtocol([NSUnitArea class], @protocol(NSUnitAreaClassExports));
	class_addProtocol([NSUnitConcentrationMass class], @protocol(NSUnitConcentrationMassInstanceExports));
	class_addProtocol([NSUnitConcentrationMass class], @protocol(NSUnitConcentrationMassClassExports));
	class_addProtocol([NSUnitDispersion class], @protocol(NSUnitDispersionInstanceExports));
	class_addProtocol([NSUnitDispersion class], @protocol(NSUnitDispersionClassExports));
	class_addProtocol([NSUnitDuration class], @protocol(NSUnitDurationInstanceExports));
	class_addProtocol([NSUnitDuration class], @protocol(NSUnitDurationClassExports));
	class_addProtocol([NSUnitElectricCharge class], @protocol(NSUnitElectricChargeInstanceExports));
	class_addProtocol([NSUnitElectricCharge class], @protocol(NSUnitElectricChargeClassExports));
	class_addProtocol([NSUnitElectricCurrent class], @protocol(NSUnitElectricCurrentInstanceExports));
	class_addProtocol([NSUnitElectricCurrent class], @protocol(NSUnitElectricCurrentClassExports));
	class_addProtocol([NSUnitElectricPotentialDifference class], @protocol(NSUnitElectricPotentialDifferenceInstanceExports));
	class_addProtocol([NSUnitElectricPotentialDifference class], @protocol(NSUnitElectricPotentialDifferenceClassExports));
	class_addProtocol([NSUnitElectricResistance class], @protocol(NSUnitElectricResistanceInstanceExports));
	class_addProtocol([NSUnitElectricResistance class], @protocol(NSUnitElectricResistanceClassExports));
	class_addProtocol([NSUnitEnergy class], @protocol(NSUnitEnergyInstanceExports));
	class_addProtocol([NSUnitEnergy class], @protocol(NSUnitEnergyClassExports));
	class_addProtocol([NSUnitFrequency class], @protocol(NSUnitFrequencyInstanceExports));
	class_addProtocol([NSUnitFrequency class], @protocol(NSUnitFrequencyClassExports));
	class_addProtocol([NSUnitFuelEfficiency class], @protocol(NSUnitFuelEfficiencyInstanceExports));
	class_addProtocol([NSUnitFuelEfficiency class], @protocol(NSUnitFuelEfficiencyClassExports));
	class_addProtocol([NSUnitInformationStorage class], @protocol(NSUnitInformationStorageInstanceExports));
	class_addProtocol([NSUnitInformationStorage class], @protocol(NSUnitInformationStorageClassExports));
	class_addProtocol([NSUnitLength class], @protocol(NSUnitLengthInstanceExports));
	class_addProtocol([NSUnitLength class], @protocol(NSUnitLengthClassExports));
	class_addProtocol([NSUnitIlluminance class], @protocol(NSUnitIlluminanceInstanceExports));
	class_addProtocol([NSUnitIlluminance class], @protocol(NSUnitIlluminanceClassExports));
	class_addProtocol([NSUnitMass class], @protocol(NSUnitMassInstanceExports));
	class_addProtocol([NSUnitMass class], @protocol(NSUnitMassClassExports));
	class_addProtocol([NSUnitPower class], @protocol(NSUnitPowerInstanceExports));
	class_addProtocol([NSUnitPower class], @protocol(NSUnitPowerClassExports));
	class_addProtocol([NSUnitPressure class], @protocol(NSUnitPressureInstanceExports));
	class_addProtocol([NSUnitPressure class], @protocol(NSUnitPressureClassExports));
	class_addProtocol([NSUnitSpeed class], @protocol(NSUnitSpeedInstanceExports));
	class_addProtocol([NSUnitSpeed class], @protocol(NSUnitSpeedClassExports));
	class_addProtocol([NSUnitTemperature class], @protocol(NSUnitTemperatureInstanceExports));
	class_addProtocol([NSUnitTemperature class], @protocol(NSUnitTemperatureClassExports));
	class_addProtocol([NSUnitVolume class], @protocol(NSUnitVolumeInstanceExports));
	class_addProtocol([NSUnitVolume class], @protocol(NSUnitVolumeClassExports));
}
static void registerCFunctions(JSContext* context)
{
}
static void registerEnumConstants(JSContext* context)
{
}
static void registerGlobalConstants(JSContext* context)
{
	void* p; p = NULL;
}
void load_Foundation_NSUnit_symbols(JSContext* context)
{
    addProtocols();
    registerEnumConstants(context);
    registerCFunctions(context);
    registerGlobalConstants(context);
}
#pragma clang diagnostic pop
