Example #1
0
// IsNull returns true if the underlying Cursor is null
func (c Cursor) IsNull() bool {
	o := C.clang_Cursor_isNull(c.c)
	if o != C.int(0) {
		return true
	}
	return false
}
Example #2
0
// Returns non-zero if \p cursor is null.
func (c Cursor) IsNull() bool {
	o := C.clang_Cursor_isNull(c.c)

	return o != C.int(0)
}