/* Get the I'th argument value in the compiler invocations Invariant : - argument 0 is the compiler executable */ func (cc CompileCommand) Arg(i uint32) string { o := cxstring{C.clang_CompileCommand_getArg(cc.c, C.uint(i))} defer o.Dispose() return o.String() }
/** * \brief Get the I'th argument value in the compiler invocations * * Invariant : * - argument 0 is the compiler executable */ func (cmd CompileCommand) GetArg(idx int) string { c_str := cxstring{C.clang_CompileCommand_getArg(cmd.c, C.unsigned(idx))} defer c_str.Dispose() return c_str.String() }