コード例 #1
0
ファイル: compilationdb.go プロジェクト: zimmski/go-clang
/**
 * \brief Get the number of CompileCommand we have for a file
 */
func (cmds CompileCommands) GetSize() int {
	return int(C.clang_CompileCommands_getSize(cmds.c))
}
コード例 #2
0
ファイル: compilecommands_gen.go プロジェクト: go-clang/v3.4
// Get the number of CompileCommand we have for a file
func (cc CompileCommands) Size() uint32 {
	return uint32(C.clang_CompileCommands_getSize(cc.c))
}