Esempio n. 1
0
/**
 * \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)
}
Esempio n. 2
0
/*
	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))
}