예제 #1
0
파일: clang.go 프로젝트: quarnster/go-clang
/**
 * \brief Retrieve a source location representing the first character within a
 * source range.
 */
func (s SourceRange) Start() SourceLocation {
	o := C.clang_getRangeStart(s.c)
	return SourceLocation{o}
}
예제 #2
0
// Retrieve a source location representing the first character within a source range.
func (sr SourceRange) Start() SourceLocation {
	return SourceLocation{C.clang_getRangeStart(sr.c)}
}