Exemple #1
0
/**
 * \brief Determine whether the declaration pointed to by this cursor
 * is also a definition of that entity.
 */
func (c Cursor) IsDefinition() bool {
	o := C.clang_isCursorDefinition(c.c)
	if o != C.uint(0) {
		return true
	}
	return false
}
Exemple #2
0
// Determine whether the declaration pointed to by this cursor is also a definition of that entity.
func (c Cursor) IsCursorDefinition() bool {
	o := C.clang_isCursorDefinition(c.c)

	return o != C.uint(0)
}