c/clang:array size & raw comment
This commit is contained in:
@@ -1702,6 +1702,19 @@ func (c Cursor) CXXAccessSpecifier() CXXAccessSpecifier {
|
||||
return c.wrapCXXAccessSpecifier()
|
||||
}
|
||||
|
||||
/**
|
||||
* Given a cursor that represents a declaration, return the associated
|
||||
* comment text, including comment markers.
|
||||
*/
|
||||
// llgo:link (*Cursor).wrapRawCommentText C.wrap_clang_Cursor_getRawCommentText
|
||||
func (c *Cursor) wrapRawCommentText() (ret String) {
|
||||
return
|
||||
}
|
||||
|
||||
func (c Cursor) RawCommentText() (ret String) {
|
||||
return c.wrapRawCommentText()
|
||||
}
|
||||
|
||||
/**
|
||||
* Retrieve the physical extent of the source construct referenced by
|
||||
* the given cursor.
|
||||
@@ -1869,6 +1882,18 @@ func (t Type) ArrayElementType() (ret Type) {
|
||||
return
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the array size of a constant array.
|
||||
*
|
||||
* If a non-array type is passed in, -1 is returned.
|
||||
*/
|
||||
// llgo:link (*Type).wrapArraySize C.wrap_clang_getArraySize
|
||||
func (t *Type) wrapArraySize() (ret c.LongLong) { return 0 }
|
||||
|
||||
func (t Type) ArraySize() (ret c.LongLong) {
|
||||
return t.wrapArraySize()
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the canonical type for a CXType.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user