コード例 #1
0
ファイル: compilecommand_gen.go プロジェクト: go-clang/v3.4
// Get the number of arguments in the compiler invocation.
func (cc CompileCommand) NumArgs() uint32 {
	return uint32(C.clang_CompileCommand_getNumArgs(cc.c))
}
コード例 #2
0
ファイル: compilationdb.go プロジェクト: zimmski/go-clang
/**
 * \brief Get the number of arguments in the compiler invocation.
 *
 */
func (cmd CompileCommand) GetNumArgs() int {
	return int(C.clang_CompileCommand_getNumArgs(cmd.c))
}