KiCad PCB EDA Suite
KIGFX::DETAIL Namespace Reference

Functions

const char * translateStringArg (const std::string &str)
 
const char * translateStringArg (const char *str)
 

Function Documentation

const char* KIGFX::DETAIL::translateStringArg ( const std::string &  str)
inline

Definition at line 51 of file shader.h.

Referenced by KIGFX::SHADER::LoadShaderFromStrings().

52 {
53  return str.c_str();
54 }
const char* KIGFX::DETAIL::translateStringArg ( const char *  str)
inline

Definition at line 56 of file shader.h.

57 {
58  return str;
59 }