示例#1
0
文件: cursor.go 项目: sbinet/go-clang
/**
 * \brief Returns non-zero if the given cursor is a variadic function or method.
 */
func (c Cursor) IsVariadic() bool {
	o := C.clang_Cursor_isVariadic(c.c)
	if o != 0 {
		return true
	}
	return false
}
示例#2
0
// Returns non-zero if the given cursor is a variadic function or method.
func (c Cursor) IsVariadic() bool {
	o := C.clang_Cursor_isVariadic(c.c)

	return o != C.uint(0)
}