c/clang: castdump

This commit is contained in:
xushiwei
2024-07-15 01:07:26 +08:00
parent cbe190fa70
commit 0b0cecc2a9
5 changed files with 55 additions and 7 deletions

View File

@@ -38,13 +38,13 @@ type String struct {
/**
* Retrieve the character data associated with the given string.
*/
// llgo:link C.clang_getCString
// llgo:link String.CStr C.clang_getCString
func (String) CStr() *c.Char { return nil }
/**
* Free the given string.
*/
// llgo:link C.clang_disposeString
// llgo:link String.Dispose C.clang_disposeString
func (String) Dispose() {}
type StringSet struct {
@@ -55,5 +55,5 @@ type StringSet struct {
/**
* Free the given string set.
*/
// llgo:link C.clang_disposeStringSet
// llgo:link (*StringSet).Dispose C.clang_disposeStringSet
func (*StringSet) Dispose() {}