Skip to content

Commit 28a463f

Browse files
authored
Merge pull request #1493 from wsw0108/export_all_symbols
exclude more symbols for utils.symbols.export_all
2 parents ce73725 + 588410a commit 28a463f

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

xmake/rules/utils/symbols/export_all/export_all.lua

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,13 @@ function main (target, opt)
6666
symbol = symbol:sub(2)
6767
end
6868
if export_classes or not symbol:startswith("?") then
69-
allsymbols:insert(symbol)
69+
if export_classes then
70+
if not symbol:startswith("??_G") and not symbol:startswith("??_E") then
71+
allsymbols:insert(symbol)
72+
end
73+
else
74+
allsymbols:insert(symbol)
75+
end
7076
end
7177
end
7278
end

0 commit comments

Comments
 (0)