fix const linking

This commit is contained in:
2026-07-28 22:13:27 +02:00
parent c4c46ffd5c
commit cb042747e1
3 changed files with 10 additions and 7 deletions
+4
View File
@@ -68,6 +68,10 @@ class ExampleGenerator : Cpp2BeefGenerator, this(Span<char8*> args)
let spelling = GetCursorSpelling!(cursor);
if (spelling == "ktxHashList" || spelling == "ktxHashListEntry" || spelling == "ktxStream")
return;
case .VarDecl:
let spelling = GetCursorSpelling!(cursor);
if (spelling == "KTX_ETC1S_DEFAULT_COMPRESSION_LEVEL")
return;
case .MacroDefinition:
let spelling = GetCursorSpelling!(cursor);
if (spelling == "KTXTEXTURECLASSDEFN" || spelling == "KTX_APIENTRYP" || spelling == "KTX_API" ||