fix: export all enum members in core and atom API

This commit is contained in:
Christopher Arndt 2024-09-27 19:40:01 +02:00
parent f001184fea
commit eb814d16c3
2 changed files with 117 additions and 117 deletions

View File

@ -10,40 +10,40 @@ import ptrmath
import urid import urid
const const
lv2AtomBaseUri ="http://lv2plug.in/ns/ext/atom" lv2AtomBaseUri* ="http://lv2plug.in/ns/ext/atom"
lv2AtomPrefix = lv2AtomBaseUri & "#" lv2AtomPrefix = lv2AtomBaseUri & "#"
lv2AtomAtom = lv2AtomPrefix & "Atom" lv2AtomAtom* = lv2AtomPrefix & "Atom"
lv2AtomAtomport = lv2AtomPrefix & "AtomPort" lv2AtomAtomPort* = lv2AtomPrefix & "AtomPort"
lv2AtomBlank = lv2AtomPrefix & "Blank" lv2AtomBlank* = lv2AtomPrefix & "Blank"
lv2AtomBool = lv2AtomPrefix & "Bool" lv2AtomBool* = lv2AtomPrefix & "Bool"
lv2AtomChunk = lv2AtomPrefix & "Chunk" lv2AtomChunk* = lv2AtomPrefix & "Chunk"
lv2AtomDouble = lv2AtomPrefix & "Double" lv2AtomDouble* = lv2AtomPrefix & "Double"
lv2AtomEvent = lv2AtomPrefix & "Event" lv2AtomEvent* = lv2AtomPrefix & "Event"
lv2AtomFloat = lv2AtomPrefix & "Float" lv2AtomFloat* = lv2AtomPrefix & "Float"
lv2AtomInt = lv2AtomPrefix & "Int" lv2AtomInt* = lv2AtomPrefix & "Int"
lv2AtomLiteral = lv2AtomPrefix & "Literal" lv2AtomLiteral* = lv2AtomPrefix & "Literal"
lv2AtomLong = lv2AtomPrefix & "Long" lv2AtomLong* = lv2AtomPrefix & "Long"
lv2AtomNumber = lv2AtomPrefix & "Number" lv2AtomNumber* = lv2AtomPrefix & "Number"
lv2AtomObject = lv2AtomPrefix & "Object" lv2AtomObject* = lv2AtomPrefix & "Object"
lv2AtomPath = lv2AtomPrefix & "Path" lv2AtomPath* = lv2AtomPrefix & "Path"
lv2AtomProperty = lv2AtomPrefix & "Property" lv2AtomProperty* = lv2AtomPrefix & "Property"
lv2AtomResource = lv2AtomPrefix & "Resource" lv2AtomResource* = lv2AtomPrefix & "Resource"
lv2AtomSequence = lv2AtomPrefix & "Sequence" lv2AtomSequence* = lv2AtomPrefix & "Sequence"
lv2AtomSound = lv2AtomPrefix & "Sound" lv2AtomSound* = lv2AtomPrefix & "Sound"
lv2AtomString = lv2AtomPrefix & "String" lv2AtomString* = lv2AtomPrefix & "String"
lv2AtomTuple = lv2AtomPrefix & "Tuple" lv2AtomTuple* = lv2AtomPrefix & "Tuple"
lv2AtomUri = lv2AtomPrefix & "URI" lv2AtomUri* = lv2AtomPrefix & "URI"
lv2AtomUrid = lv2AtomPrefix & "URID" lv2AtomUrid* = lv2AtomPrefix & "URID"
lv2AtomVector = lv2AtomPrefix & "Vector" lv2AtomVector* = lv2AtomPrefix & "Vector"
lv2AtomAtomtransfer = lv2AtomPrefix & "atomTransfer" lv2AtomAtomtransfer* = lv2AtomPrefix & "atomTransfer"
lv2AtomBeattime = lv2AtomPrefix & "beatTime" lv2AtomBeattime* = lv2AtomPrefix & "beatTime"
lv2AtomBuffer= lv2AtomPrefix & "bufferType" lv2AtomBuffer* = lv2AtomPrefix & "bufferType"
lv2AtomChild= lv2AtomPrefix & "childType" lv2AtomChild* = lv2AtomPrefix & "childType"
lv2AtomEventtransfer = lv2AtomPrefix & "eventTransfer" lv2AtomEventTransfer* = lv2AtomPrefix & "eventTransfer"
lv2AtomFrametime = lv2AtomPrefix & "frameTime" lv2AtomFrameTime* = lv2AtomPrefix & "frameTime"
lv2AtomSupports = lv2AtomPrefix & "supports" lv2AtomSupports* = lv2AtomPrefix & "supports"
lv2AtomTimeunit = lv2AtomPrefix & "timeUnit" lv2AtomTimeUnit* = lv2AtomPrefix & "timeUnit"
## ##
## Return a pointer to the contents of an Atom. The "contents" of an atom ## Return a pointer to the contents of an Atom. The "contents" of an atom

View File

@ -1,96 +1,96 @@
const const
lv2CoreBaseUri = "http://lv2plug.in/ns/lv2core" lv2CoreBaseUri* = "http://lv2plug.in/ns/lv2core"
lv2CorePrefix = lv2CoreBaseUri & "#" lv2CorePrefix = lv2CoreBaseUri & "#"
# Classes (http://lv2plug.in/ns/lv2core#ref-classes): # Classes (http://lv2plug.in/ns/lv2core#ref-classes):
lv2CoreClassAllpassPlugin = lv2CorePrefix & "AllpassPlugin" lv2CoreClassAllpassPlugin* = lv2CorePrefix & "AllpassPlugin"
lv2CoreClassAmplifierPlugin = lv2CorePrefix & "AmplifierPlugin" lv2CoreClassAmplifierPlugin* = lv2CorePrefix & "AmplifierPlugin"
lv2CoreClassAnalyserPlugin = lv2CorePrefix & "AnalyserPlugin" lv2CoreClassAnalyserPlugin* = lv2CorePrefix & "AnalyserPlugin"
lv2CoreClassAudioPort = lv2CorePrefix & "AudioPort" lv2CoreClassAudioPort* = lv2CorePrefix & "AudioPort"
lv2CoreClassBandpassPlugin = lv2CorePrefix & "BandpassPlugin" lv2CoreClassBandpassPlugin* = lv2CorePrefix & "BandpassPlugin"
lv2CoreClassCVPort = lv2CorePrefix & "CVPort" lv2CoreClassCVPort* = lv2CorePrefix & "CVPort"
lv2CoreClassChorusPlugin = lv2CorePrefix & "ChorusPlugin" lv2CoreClassChorusPlugin* = lv2CorePrefix & "ChorusPlugin"
lv2CoreClassCombPlugin = lv2CorePrefix & "CombPlugin" lv2CoreClassCombPlugin* = lv2CorePrefix & "CombPlugin"
lv2CoreClassCompressorPlugin = lv2CorePrefix & "CompressorPlugin" lv2CoreClassCompressorPlugin* = lv2CorePrefix & "CompressorPlugin"
lv2CoreClassConstantPlugin = lv2CorePrefix & "ConstantPlugin" lv2CoreClassConstantPlugin* = lv2CorePrefix & "ConstantPlugin"
lv2CoreClassControlPort = lv2CorePrefix & "ControlPort" lv2CoreClassControlPort* = lv2CorePrefix & "ControlPort"
lv2CoreClassConverterPlugin = lv2CorePrefix & "ConverterPlugin" lv2CoreClassConverterPlugin* = lv2CorePrefix & "ConverterPlugin"
lv2CoreClassDelayPlugin = lv2CorePrefix & "DelayPlugin" lv2CoreClassDelayPlugin* = lv2CorePrefix & "DelayPlugin"
lv2CoreClassDistortionPlugin = lv2CorePrefix & "DistortionPlugin" lv2CoreClassDistortionPlugin* = lv2CorePrefix & "DistortionPlugin"
lv2CoreClassDynamicsPlugin = lv2CorePrefix & "DynamicsPlugin" lv2CoreClassDynamicsPlugin* = lv2CorePrefix & "DynamicsPlugin"
lv2CoreClassEQPlugin = lv2CorePrefix & "EQPlugin" lv2CoreClassEQPlugin* = lv2CorePrefix & "EQPlugin"
lv2CoreClassEnvelopePlugin = lv2CorePrefix & "EnvelopePlugin" lv2CoreClassEnvelopePlugin* = lv2CorePrefix & "EnvelopePlugin"
lv2CoreClassExpanderPlugin = lv2CorePrefix & "ExpanderPlugin" lv2CoreClassExpanderPlugin* = lv2CorePrefix & "ExpanderPlugin"
lv2CoreClassExtensionData = lv2CorePrefix & "ExtensionData" lv2CoreClassExtensionData* = lv2CorePrefix & "ExtensionData"
lv2CoreClassFeature = lv2CorePrefix & "Feature" lv2CoreClassFeature* = lv2CorePrefix & "Feature"
lv2CoreClassFilterPlugin = lv2CorePrefix & "FilterPlugin" lv2CoreClassFilterPlugin* = lv2CorePrefix & "FilterPlugin"
lv2CoreClassFlangerPlugin = lv2CorePrefix & "FlangerPlugin" lv2CoreClassFlangerPlugin* = lv2CorePrefix & "FlangerPlugin"
lv2CoreClassFunctionPlugin = lv2CorePrefix & "FunctionPlugin" lv2CoreClassFunctionPlugin* = lv2CorePrefix & "FunctionPlugin"
lv2CoreClassGatePlugin = lv2CorePrefix & "GatePlugin" lv2CoreClassGatePlugin* = lv2CorePrefix & "GatePlugin"
lv2CoreClassGeneratorPlugin = lv2CorePrefix & "GeneratorPlugin" lv2CoreClassGeneratorPlugin* = lv2CorePrefix & "GeneratorPlugin"
lv2CoreClassHighpassPlugin = lv2CorePrefix & "HighpassPlugin" lv2CoreClassHighpassPlugin* = lv2CorePrefix & "HighpassPlugin"
lv2CoreClassInputPort = lv2CorePrefix & "InputPort" lv2CoreClassInputPort* = lv2CorePrefix & "InputPort"
lv2CoreClassInstrumentPlugin = lv2CorePrefix & "InstrumentPlugin" lv2CoreClassInstrumentPlugin* = lv2CorePrefix & "InstrumentPlugin"
lv2CoreClassLimiterPlugin = lv2CorePrefix & "LimiterPlugin" lv2CoreClassLimiterPlugin* = lv2CorePrefix & "LimiterPlugin"
lv2CoreClassLowpassPlugin = lv2CorePrefix & "LowpassPlugin" lv2CoreClassLowpassPlugin* = lv2CorePrefix & "LowpassPlugin"
lv2CoreClassMixerPlugin = lv2CorePrefix & "MixerPlugin" lv2CoreClassMixerPlugin* = lv2CorePrefix & "MixerPlugin"
lv2CoreClassModulatorPlugin = lv2CorePrefix & "ModulatorPlugin" lv2CoreClassModulatorPlugin* = lv2CorePrefix & "ModulatorPlugin"
lv2CoreClassMultiEQPlugin = lv2CorePrefix & "MultiEQPlugin" lv2CoreClassMultiEQPlugin* = lv2CorePrefix & "MultiEQPlugin"
lv2CoreClassOscillatorPlugin = lv2CorePrefix & "OscillatorPlugin" lv2CoreClassOscillatorPlugin* = lv2CorePrefix & "OscillatorPlugin"
lv2CoreClassOutputPort = lv2CorePrefix & "OutputPort" lv2CoreClassOutputPort* = lv2CorePrefix & "OutputPort"
lv2CoreClassParaEQPlugin = lv2CorePrefix & "ParaEQPlugin" lv2CoreClassParaEQPlugin* = lv2CorePrefix & "ParaEQPlugin"
lv2CoreClassPhaserPlugin = lv2CorePrefix & "PhaserPlugin" lv2CoreClassPhaserPlugin* = lv2CorePrefix & "PhaserPlugin"
lv2CoreClassPitchPlugin = lv2CorePrefix & "PitchPlugin" lv2CoreClassPitchPlugin* = lv2CorePrefix & "PitchPlugin"
lv2CoreClassPlugin = lv2CorePrefix & "Plugin" lv2CoreClassPlugin* = lv2CorePrefix & "Plugin"
lv2CoreClassPluginBase = lv2CorePrefix & "PluginBase" lv2CoreClassPluginBase* = lv2CorePrefix & "PluginBase"
lv2CoreClassPoint = lv2CorePrefix & "Point" lv2CoreClassPoint* = lv2CorePrefix & "Point"
lv2CoreClassPort = lv2CorePrefix & "Port" lv2CoreClassPort* = lv2CorePrefix & "Port"
lv2CoreClassPortProperty = lv2CorePrefix & "Port" lv2CoreClassPortProperty* = lv2CorePrefix & "Port"
lv2CoreClassResource = lv2CorePrefix & "Resource" lv2CoreClassResource* = lv2CorePrefix & "Resource"
lv2CoreClassReverbPlugin = lv2CorePrefix & "ReverbPlugin" lv2CoreClassReverbPlugin* = lv2CorePrefix & "ReverbPlugin"
lv2CoreClassScalePoint = lv2CorePrefix & "ScalePoint" lv2CoreClassScalePoint* = lv2CorePrefix & "ScalePoint"
lv2CoreClassSimulatorPlugin = lv2CorePrefix & "SimulatorPlugin" lv2CoreClassSimulatorPlugin* = lv2CorePrefix & "SimulatorPlugin"
lv2CoreClassSpatialPlugin = lv2CorePrefix & "SpatialPlugin" lv2CoreClassSpatialPlugin* = lv2CorePrefix & "SpatialPlugin"
lv2CoreClassSpecification = lv2CorePrefix & "Specification" lv2CoreClassSpecification* = lv2CorePrefix & "Specification"
lv2CoreClassSpectralPlugin = lv2CorePrefix & "SpectralPlugin" lv2CoreClassSpectralPlugin* = lv2CorePrefix & "SpectralPlugin"
lv2CoreClassUtilityPlugin = lv2CorePrefix & "UtilityPlugin" lv2CoreClassUtilityPlugin* = lv2CorePrefix & "UtilityPlugin"
lv2CoreClassWaveshaperPlugin = lv2CorePrefix & "WaveshaperPlugin" lv2CoreClassWaveshaperPlugin* = lv2CorePrefix & "WaveshaperPlugin"
# Properties (http://lv2plug.in/ns/lv2core#ref-properties): # Properties (http://lv2plug.in/ns/lv2core#ref-properties):
lv2CorePropertyAppliesTo = lv2CorePrefix & "appliesTo" lv2CorePropertyAppliesTo* = lv2CorePrefix & "appliesTo"
lv2CorePropertyBinary = lv2CorePrefix & "binary" lv2CorePropertyBinary* = lv2CorePrefix & "binary"
lv2CorePropertyDefault = lv2CorePrefix & "default" lv2CorePropertyDefault* = lv2CorePrefix & "default"
lv2CorePropertyDesignation = lv2CorePrefix & "designation" lv2CorePropertyDesignation* = lv2CorePrefix & "designation"
lv2CorePropertyDocumentation = lv2CorePrefix & "documentation" lv2CorePropertyDocumentation* = lv2CorePrefix & "documentation"
lv2CorePropertyExtensionData = lv2CorePrefix & "extensionData" lv2CorePropertyExtensionData* = lv2CorePrefix & "extensionData"
lv2CorePropertyIndex = lv2CorePrefix & "index" lv2CorePropertyIndex* = lv2CorePrefix & "index"
lv2CorePropertyLatency = lv2CorePrefix & "latency" lv2CorePropertyLatency* = lv2CorePrefix & "latency"
lv2CorePropertyMaximum = lv2CorePrefix & "maximum" lv2CorePropertyMaximum* = lv2CorePrefix & "maximum"
lv2CorePropertyMicroVersion = lv2CorePrefix & "microVersion" lv2CorePropertyMicroVersion* = lv2CorePrefix & "microVersion"
lv2CorePropertyMinimum = lv2CorePrefix & "minimum" lv2CorePropertyMinimum* = lv2CorePrefix & "minimum"
lv2CorePropertyMinorVersion = lv2CorePrefix & "minorVersion" lv2CorePropertyMinorVersion* = lv2CorePrefix & "minorVersion"
lv2CorePropertyName = lv2CorePrefix & "name" lv2CorePropertyName* = lv2CorePrefix & "name"
lv2CorePropertyOptionalFeature = lv2CorePrefix & "optionalFeature" lv2CorePropertyOptionalFeature* = lv2CorePrefix & "optionalFeature"
lv2CorePropertyPort = lv2CorePrefix & "port" lv2CorePropertyPort* = lv2CorePrefix & "port"
lv2CorePropertyPortProperty = lv2CorePrefix & "portProperty" lv2CorePropertyPortProperty* = lv2CorePrefix & "portProperty"
lv2CorePropertyProject = lv2CorePrefix & "project" lv2CorePropertyProject* = lv2CorePrefix & "project"
lv2CorePropertyPrototype = lv2CorePrefix & "prototype" lv2CorePropertyPrototype* = lv2CorePrefix & "prototype"
lv2CorePropertyReportsLatency = lv2CorePrefix & "reportsLatency" lv2CorePropertyReportsLatency* = lv2CorePrefix & "reportsLatency"
lv2CorePropertyRequiredFeature = lv2CorePrefix & "requiredFeature" lv2CorePropertyRequiredFeature* = lv2CorePrefix & "requiredFeature"
lv2CorePropertyScalePoint = lv2CorePrefix & "scalePoint" lv2CorePropertyScalePoint* = lv2CorePrefix & "scalePoint"
lv2CorePropertySymbol = lv2CorePrefix & "symbol" lv2CorePropertySymbol* = lv2CorePrefix & "symbol"
# Instances (http://lv2plug.in/ns/lv2core#ref-instances) # Instances (http://lv2plug.in/ns/lv2core#ref-instances)
lv2CoreInstanceConnectionOptional = lv2CorePrefix & "connectionOptional" lv2CoreInstanceConnectionOptional* = lv2CorePrefix & "connectionOptional"
lv2CoreInstanceControl = lv2CorePrefix & "control" lv2CoreInstanceControl* = lv2CorePrefix & "control"
lv2CoreInstanceEnumeration = lv2CorePrefix & "enumeration" lv2CoreInstanceEnumeration* = lv2CorePrefix & "enumeration"
lv2CoreInstanceFreeWheeling = lv2CorePrefix & "freeWheeling" lv2CoreInstanceFreeWheeling* = lv2CorePrefix & "freeWheeling"
lv2CoreInstanceHardRTCapable = lv2CorePrefix & "hardRTCapable" lv2CoreInstanceHardRTCapable* = lv2CorePrefix & "hardRTCapable"
lv2CoreInstanceInPlaceBroken = lv2CorePrefix & "inPlaceBroken" lv2CoreInstanceInPlaceBroken* = lv2CorePrefix & "inPlaceBroken"
lv2CoreInstanceInteger = lv2CorePrefix & "integer" lv2CoreInstanceInteger* = lv2CorePrefix & "integer"
lv2CoreInstanceIsLive = lv2CorePrefix & "isLive" lv2CoreInstanceIsLive* = lv2CorePrefix & "isLive"
lv2CoreInstanceSampleRateInstance = lv2CorePrefix & "sampleRate" lv2CoreInstanceSampleRate* = lv2CorePrefix & "sampleRate"
lv2CoreInstanceToggledInstance = lv2CorePrefix & "toggled" lv2CoreInstanceToggled* = lv2CorePrefix & "toggled"
type Lv2Handle* = pointer type Lv2Handle* = pointer