示例#1
0
文件: type.go 项目: zimmski/go-clang
/**
 * \brief Return the the array size of a constant array.
 *
 * If a non-array type is passed in, -1 is returned.
 */
func (t Type) ArraySize() int64 {
	o := C.clang_getArraySize(t.c)
	return int64(o)
}
示例#2
0
文件: type_gen.go 项目: go-clang/v3.4
/*
	Return the array size of a constant array.

	If a non-array type is passed in, -1 is returned.
*/
func (t Type) ArraySize() int64 {
	return int64(C.clang_getArraySize(t.c))
}