Exemple #1
0
// Get the working directory where the CompileCommand was executed from
func (cc CompileCommand) Directory() string {
	o := cxstring{C.clang_CompileCommand_getDirectory(cc.c)}
	defer o.Dispose()

	return o.String()
}
Exemple #2
0
/**
 * \brief Get the working directory where the CompileCommand was executed from
 */
func (cmd CompileCommand) GetDirectory() string {
	c_str := cxstring{C.clang_CompileCommand_getDirectory(cmd.c)}
	defer c_str.Dispose()
	return c_str.String()
}