c/clang:marco content

This commit is contained in:
luoliwoshang
2024-08-05 19:26:59 +08:00
parent 4bff9cc3df
commit 6da5fe4317
2 changed files with 13 additions and 3 deletions

View File

@@ -59,6 +59,7 @@ func printMarcoInfo(cursor clang.Cursor) {
for _, tok := range tokensSlice {
tokStr := context.unit.Token(tok)
c.Printf(c.Str("%s "), tokStr.CStr())
tokStr.Dispose()
}
c.Printf(c.Str("\n"))