예제 #1
0
/*
	Parameter Comment AST node of any kind.

	Parameter ChildIdx child index (zero-based).

	Returns the specified child of the AST node.
*/
func (c Comment) Child(childIdx uint32) Comment {
	return Comment{C.clang_Comment_getChild(c.c, C.uint(childIdx))}
}
예제 #2
0
파일: comment.go 프로젝트: zimmski/go-clang
/**
 * \param Comment AST node of any kind.
 *
 * \param ChildIdx child index (zero-based).
 *
 * \returns the specified child of the AST node.
 */
func (c Comment) Child(idx int) Comment {
	return Comment{C.clang_Comment_getChild(c.c, C.unsigned(idx))}
}