KiCad PCB EDA Suite
KIGFX::DETAIL Namespace Reference

Functions

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

Function Documentation

◆ translateStringArg() [1/2]

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

Definition at line 53 of file shader.h.

54 {
55  return str.c_str();
56 }
const string & str
Definition: json11.cpp:596

References str.

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

◆ translateStringArg() [2/2]

const char* KIGFX::DETAIL::translateStringArg ( const char *  str)
inline

Definition at line 58 of file shader.h.

59 {
60  return str;
61 }
const string & str
Definition: json11.cpp:596

References str.