Skip to content

Commit cd41fe8

Browse files
committed
Add support for multiple global prefix hints
1 parent 9fabb63 commit cd41fe8

328 files changed

Lines changed: 16846 additions & 16766 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

generator.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@
149149
},
150150
"PrettifyNames": {
151151
"LongAcronymThreshold": 4,
152-
"GlobalPrefixHint": "gl"
152+
"GlobalPrefixHints": ["gl"]
153153
},
154154
"TransformFunctions": {
155155
"BoolTypes": {
@@ -217,6 +217,7 @@
217217
},
218218
"PrettifyNames": {
219219
"LongAcronymThreshold": 4,
220+
"GlobalPrefixHints": ["alc", "al"],
220221
"NameOverrides": {
221222
"ALContext": "ALContext",
222223
"EFXEAXREVERBPROPERTIES": "EfxEaxReverbProperties",

sources/OpenAL/OpenAL/Enums/AuxiliaryEffectSlotFloat.gen.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ namespace Silk.NET.OpenAL;
1313
[Transformed]
1414
public enum AuxiliaryEffectSlotFloat : uint
1515
{
16-
AlEffectslotGain = unchecked((uint)0x0002),
16+
EffectslotGain = unchecked((uint)0x0002),
1717
}

sources/OpenAL/OpenAL/Enums/BufferFloat.gen.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ namespace Silk.NET.OpenAL;
1313
[Transformed]
1414
public enum BufferFloat : uint
1515
{
16-
AlSecLengthSOFT = unchecked((uint)0x200B),
16+
SecLengthSOFT = unchecked((uint)0x200B),
1717
}

sources/OpenAL/OpenAL/Enums/ContextFlagsEXT.gen.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ namespace Silk.NET.OpenAL;
1313
[Transformed]
1414
public enum ContextFlagsEXT : uint
1515
{
16-
AlcContextDebugBit = unchecked((uint)0x0001),
16+
ContextDebugBit = unchecked((uint)0x0001),
1717
}

sources/OpenAL/OpenAL/Enums/EffectCompressor.gen.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ namespace Silk.NET.OpenAL;
1313
[Transformed]
1414
public enum EffectCompressor : uint
1515
{
16-
AlCompressorOnoff = unchecked((uint)0x0001),
16+
CompressorOnoff = unchecked((uint)0x0001),
1717
}

sources/OpenAL/OpenAL/Enums/EffectDedicatedGain.gen.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ namespace Silk.NET.OpenAL;
1313
[Transformed]
1414
public enum EffectDedicatedGain : uint
1515
{
16-
AlDedicatedGain = unchecked((uint)0x0001),
16+
DedicatedGain = unchecked((uint)0x0001),
1717
}

sources/OpenAL/OpenAL/Enums/FilterInteger.gen.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ namespace Silk.NET.OpenAL;
1313
[Transformed]
1414
public enum FilterInteger : uint
1515
{
16-
AlFilterType = unchecked((uint)0x8001),
16+
FilterType = unchecked((uint)0x8001),
1717
}

sources/OpenAL/OpenAL/Enums/SourceDouble.gen.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ namespace Silk.NET.OpenAL;
1313
[Transformed]
1414
public enum SourceDouble : uint
1515
{
16-
AlSecOffsetClockSOFT = unchecked((uint)0x1203),
16+
SecOffsetClockSOFT = unchecked((uint)0x1203),
1717
}

sources/OpenAL/OpenAL/al/AL.gen.cs

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -6941,7 +6941,7 @@ public static void SourceQueueBuffersDirect(
69416941

69426942
[DllImport("openal", ExactSpelling = true, EntryPoint = "alSourceRewind")]
69436943
[SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
6944-
public static extern void SourceRewin([NativeTypeName("ALuint")] uint source);
6944+
public static extern void SourceRewind([NativeTypeName("ALuint")] uint source);
69456945

69466946
[DllImport("openal", ExactSpelling = true, EntryPoint = "alSourceRewindDirect")]
69476947
[SupportedApiProfile("al", ["AL_EXT_direct_context"])]
@@ -6952,7 +6952,7 @@ public static extern void SourceRewindDirect(
69526952

69536953
[DllImport("openal", ExactSpelling = true, EntryPoint = "alSourceRewindv")]
69546954
[SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
6955-
public static extern void SourceRewindv(
6955+
public static extern void SourceRewin(
69566956
[NativeTypeName("ALsizei")] int n,
69576957
[NativeTypeName("const ALuint *")] uint* sources
69586958
);
@@ -6963,22 +6963,22 @@ public static extern void SourceRewindv(
69636963
[MethodImpl(
69646964
MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
69656965
)]
6966-
public static void SourceRewindv(
6966+
public static void SourceRewin(
69676967
[NativeTypeName("ALsizei")] int n,
69686968
[NativeTypeName("const ALuint *")] Ref<uint> sources
69696969
)
69706970
{
69716971
fixed (uint* __dsl_sources = sources)
69726972
{
6973-
SourceRewindv(n, __dsl_sources);
6973+
SourceRewin(n, __dsl_sources);
69746974
}
69756975
}
69766976

69776977
[SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
69786978
[Transformed]
69796979
[NativeFunction("openal", EntryPoint = "alSourceRewindv")]
6980-
public static void SourceRewindv([NativeTypeName("const ALuint *")] uint sources) =>
6981-
SourceRewindv(1, (uint*)&sources);
6980+
public static void SourceRewin([NativeTypeName("const ALuint *")] uint sources) =>
6981+
SourceRewin(1, (uint*)&sources);
69826982

69836983
[DllImport("openal", ExactSpelling = true, EntryPoint = "alSourceRewindvDirect")]
69846984
[SupportedApiProfile("al", ["AL_EXT_direct_context"])]
@@ -13867,7 +13867,7 @@ public void SourceQueueBuffersDirect(
1386713867
[MethodImpl(
1386813868
MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
1386913869
)]
13870-
public void SourceRewin([NativeTypeName("ALuint")] uint source) => T.SourceRewin(source);
13870+
public void SourceRewind([NativeTypeName("ALuint")] uint source) => T.SourceRewind(source);
1387113871

1387213872
[SupportedApiProfile("al", ["AL_EXT_direct_context"])]
1387313873
[NativeFunction("openal", EntryPoint = "alSourceRewindDirect")]
@@ -13884,30 +13884,30 @@ public void SourceRewindDirect(
1388413884
[MethodImpl(
1388513885
MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
1388613886
)]
13887-
public void SourceRewindv(
13887+
public void SourceRewin(
1388813888
[NativeTypeName("ALsizei")] int n,
1388913889
[NativeTypeName("const ALuint *")] uint* sources
13890-
) => T.SourceRewindv(n, sources);
13890+
) => T.SourceRewin(n, sources);
1389113891

1389213892
[SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
1389313893
[Transformed]
1389413894
[NativeFunction("openal", EntryPoint = "alSourceRewindv")]
1389513895
[MethodImpl(
1389613896
MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
1389713897
)]
13898-
public void SourceRewindv(
13898+
public void SourceRewin(
1389913899
[NativeTypeName("ALsizei")] int n,
1390013900
[NativeTypeName("const ALuint *")] Ref<uint> sources
13901-
) => T.SourceRewindv(n, sources);
13901+
) => T.SourceRewin(n, sources);
1390213902

1390313903
[SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
1390413904
[Transformed]
1390513905
[NativeFunction("openal", EntryPoint = "alSourceRewindv")]
1390613906
[MethodImpl(
1390713907
MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
1390813908
)]
13909-
public void SourceRewindv([NativeTypeName("const ALuint *")] uint sources) =>
13910-
T.SourceRewindv(sources);
13909+
public void SourceRewin([NativeTypeName("const ALuint *")] uint sources) =>
13910+
T.SourceRewin(sources);
1391113911

1391213912
[SupportedApiProfile("al", ["AL_EXT_direct_context"])]
1391313913
[NativeFunction("openal", EntryPoint = "alSourceRewindvDirect")]
@@ -22282,8 +22282,8 @@ public static void SourceQueueBuffersDirect(
2228222282
[MethodImpl(
2228322283
MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
2228422284
)]
22285-
public static void SourceRewin([NativeTypeName("ALuint")] uint source) =>
22286-
Underlying.Value!.SourceRewin(source);
22285+
public static void SourceRewind([NativeTypeName("ALuint")] uint source) =>
22286+
Underlying.Value!.SourceRewind(source);
2228722287

2228822288
[SupportedApiProfile("al", ["AL_EXT_direct_context"])]
2228922289
[NativeFunction("openal", EntryPoint = "alSourceRewindDirect")]
@@ -22300,25 +22300,25 @@ public static void SourceRewindDirect(
2230022300
[MethodImpl(
2230122301
MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
2230222302
)]
22303-
public static void SourceRewindv(
22303+
public static void SourceRewin(
2230422304
[NativeTypeName("ALsizei")] int n,
2230522305
[NativeTypeName("const ALuint *")] uint* sources
22306-
) => Underlying.Value!.SourceRewindv(n, sources);
22306+
) => Underlying.Value!.SourceRewin(n, sources);
2230722307

2230822308
[SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
2230922309
[Transformed]
2231022310
[NativeFunction("openal", EntryPoint = "alSourceRewindv")]
2231122311
[MethodImpl(
2231222312
MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
2231322313
)]
22314-
public static void SourceRewindv(
22314+
public static void SourceRewin(
2231522315
[NativeTypeName("ALsizei")] int n,
2231622316
[NativeTypeName("const ALuint *")] Ref<uint> sources
2231722317
)
2231822318
{
2231922319
fixed (uint* __dsl_sources = sources)
2232022320
{
22321-
SourceRewindv(n, __dsl_sources);
22321+
SourceRewin(n, __dsl_sources);
2232222322
}
2232322323
}
2232422324

@@ -22328,8 +22328,8 @@ public static void SourceRewindv(
2232822328
[MethodImpl(
2232922329
MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
2233022330
)]
22331-
public static void SourceRewindv([NativeTypeName("const ALuint *")] uint sources) =>
22332-
Underlying.Value!.SourceRewindv(sources);
22331+
public static void SourceRewin([NativeTypeName("const ALuint *")] uint sources) =>
22332+
Underlying.Value!.SourceRewin(sources);
2233322333

2233422334
[SupportedApiProfile("al", ["AL_EXT_direct_context"])]
2233522335
[NativeFunction("openal", EntryPoint = "alSourceRewindvDirect")]
@@ -35656,7 +35656,7 @@ public static void SourceQueueBuffersDirect(
3565635656
) => ThisThread.SourceQueueBuffersDirect(context, source, nb, buffers);
3565735657

3565835658
[MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)]
35659-
void IAL.SourceRewin([NativeTypeName("ALuint")] uint source) =>
35659+
void IAL.SourceRewind([NativeTypeName("ALuint")] uint source) =>
3566035660
(
3566135661
(delegate* unmanaged<uint, void>)(
3566235662
_slots[281] is not null and var loadedFnPtr
@@ -35668,8 +35668,8 @@ _slots[281] is not null and var loadedFnPtr
3566835668
[SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
3566935669
[NativeFunction("openal", EntryPoint = "alSourceRewind")]
3567035670
[MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)]
35671-
public static void SourceRewin([NativeTypeName("ALuint")] uint source) =>
35672-
ThisThread.SourceRewin(source);
35671+
public static void SourceRewind([NativeTypeName("ALuint")] uint source) =>
35672+
ThisThread.SourceRewind(source);
3567335673

3567435674
[MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)]
3567535675
void IAL.SourceRewindDirect(ContextHandle context, [NativeTypeName("ALuint")] uint source) =>
@@ -35690,7 +35690,7 @@ public static void SourceRewindDirect(
3569035690
) => ThisThread.SourceRewindDirect(context, source);
3569135691

3569235692
[MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)]
35693-
void IAL.SourceRewindv(
35693+
void IAL.SourceRewin(
3569435694
[NativeTypeName("ALsizei")] int n,
3569535695
[NativeTypeName("const ALuint *")] uint* sources
3569635696
) =>
@@ -35705,42 +35705,42 @@ _slots[283] is not null and var loadedFnPtr
3570535705
[SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
3570635706
[NativeFunction("openal", EntryPoint = "alSourceRewindv")]
3570735707
[MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)]
35708-
public static void SourceRewindv(
35708+
public static void SourceRewin(
3570935709
[NativeTypeName("ALsizei")] int n,
3571035710
[NativeTypeName("const ALuint *")] uint* sources
35711-
) => ThisThread.SourceRewindv(n, sources);
35711+
) => ThisThread.SourceRewin(n, sources);
3571235712

3571335713
[MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)]
35714-
void IAL.SourceRewindv(
35714+
void IAL.SourceRewin(
3571535715
[NativeTypeName("ALsizei")] int n,
3571635716
[NativeTypeName("const ALuint *")] Ref<uint> sources
3571735717
)
3571835718
{
3571935719
fixed (uint* __dsl_sources = sources)
3572035720
{
35721-
((IAL)this).SourceRewindv(n, __dsl_sources);
35721+
((IAL)this).SourceRewin(n, __dsl_sources);
3572235722
}
3572335723
}
3572435724

3572535725
[SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
3572635726
[Transformed]
3572735727
[NativeFunction("openal", EntryPoint = "alSourceRewindv")]
3572835728
[MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)]
35729-
public static void SourceRewindv(
35729+
public static void SourceRewin(
3573035730
[NativeTypeName("ALsizei")] int n,
3573135731
[NativeTypeName("const ALuint *")] Ref<uint> sources
35732-
) => ThisThread.SourceRewindv(n, sources);
35732+
) => ThisThread.SourceRewin(n, sources);
3573335733

3573435734
[MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)]
35735-
void IAL.SourceRewindv([NativeTypeName("const ALuint *")] uint sources) =>
35736-
((IAL)this).SourceRewindv(1, (uint*)&sources);
35735+
void IAL.SourceRewin([NativeTypeName("const ALuint *")] uint sources) =>
35736+
((IAL)this).SourceRewin(1, (uint*)&sources);
3573735737

3573835738
[SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
3573935739
[Transformed]
3574035740
[NativeFunction("openal", EntryPoint = "alSourceRewindv")]
3574135741
[MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)]
35742-
public static void SourceRewindv([NativeTypeName("const ALuint *")] uint sources) =>
35743-
ThisThread.SourceRewindv(sources);
35742+
public static void SourceRewin([NativeTypeName("const ALuint *")] uint sources) =>
35743+
ThisThread.SourceRewin(sources);
3574435744

3574535745
[MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)]
3574635746
void IAL.SourceRewindvDirect(

sources/OpenAL/OpenAL/al/IAL.gen.cs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4838,7 +4838,7 @@ static abstract void SourceQueueBuffersDirect(
48384838

48394839
[SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
48404840
[NativeFunction("openal", EntryPoint = "alSourceRewind")]
4841-
static abstract void SourceRewin([NativeTypeName("ALuint")] uint source);
4841+
static abstract void SourceRewind([NativeTypeName("ALuint")] uint source);
48424842

48434843
[SupportedApiProfile("al", ["AL_EXT_direct_context"])]
48444844
[NativeFunction("openal", EntryPoint = "alSourceRewindDirect")]
@@ -4849,23 +4849,23 @@ static abstract void SourceRewindDirect(
48494849

48504850
[SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
48514851
[NativeFunction("openal", EntryPoint = "alSourceRewindv")]
4852-
static abstract void SourceRewindv(
4852+
static abstract void SourceRewin(
48534853
[NativeTypeName("ALsizei")] int n,
48544854
[NativeTypeName("const ALuint *")] uint* sources
48554855
);
48564856

48574857
[SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
48584858
[Transformed]
48594859
[NativeFunction("openal", EntryPoint = "alSourceRewindv")]
4860-
static abstract void SourceRewindv(
4860+
static abstract void SourceRewin(
48614861
[NativeTypeName("ALsizei")] int n,
48624862
[NativeTypeName("const ALuint *")] Ref<uint> sources
48634863
);
48644864

48654865
[SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
48664866
[Transformed]
48674867
[NativeFunction("openal", EntryPoint = "alSourceRewindv")]
4868-
static abstract void SourceRewindv([NativeTypeName("const ALuint *")] uint sources);
4868+
static abstract void SourceRewin([NativeTypeName("const ALuint *")] uint sources);
48694869

48704870
[SupportedApiProfile("al", ["AL_EXT_direct_context"])]
48714871
[NativeFunction("openal", EntryPoint = "alSourceRewindvDirect")]
@@ -9792,31 +9792,31 @@ void SourceQueueBuffersDirect(
97929792

97939793
[SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
97949794
[NativeFunction("openal", EntryPoint = "alSourceRewind")]
9795-
void SourceRewin([NativeTypeName("ALuint")] uint source);
9795+
void SourceRewind([NativeTypeName("ALuint")] uint source);
97969796

97979797
[SupportedApiProfile("al", ["AL_EXT_direct_context"])]
97989798
[NativeFunction("openal", EntryPoint = "alSourceRewindDirect")]
97999799
void SourceRewindDirect(ContextHandle context, [NativeTypeName("ALuint")] uint source);
98009800

98019801
[SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
98029802
[NativeFunction("openal", EntryPoint = "alSourceRewindv")]
9803-
void SourceRewindv(
9803+
void SourceRewin(
98049804
[NativeTypeName("ALsizei")] int n,
98059805
[NativeTypeName("const ALuint *")] uint* sources
98069806
);
98079807

98089808
[SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
98099809
[Transformed]
98109810
[NativeFunction("openal", EntryPoint = "alSourceRewindv")]
9811-
void SourceRewindv(
9811+
void SourceRewin(
98129812
[NativeTypeName("ALsizei")] int n,
98139813
[NativeTypeName("const ALuint *")] Ref<uint> sources
98149814
);
98159815

98169816
[SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
98179817
[Transformed]
98189818
[NativeFunction("openal", EntryPoint = "alSourceRewindv")]
9819-
void SourceRewindv([NativeTypeName("const ALuint *")] uint sources);
9819+
void SourceRewin([NativeTypeName("const ALuint *")] uint sources);
98209820

98219821
[SupportedApiProfile("al", ["AL_EXT_direct_context"])]
98229822
[NativeFunction("openal", EntryPoint = "alSourceRewindvDirect")]

0 commit comments

Comments
 (0)