mirror of
https://github.com/minetest/irrlicht.git
synced 2025-07-01 07:40:26 +02:00
Make my life a bit easier
This commit is contained in:
@ -30,6 +30,9 @@ void println(const char* data) {
|
|||||||
printf(data);
|
printf(data);
|
||||||
printf("\n");
|
printf("\n");
|
||||||
}
|
}
|
||||||
|
void println(std::string data) {
|
||||||
|
printf((data + "\n").c_str());
|
||||||
|
}
|
||||||
const char * const boolToString(bool b)
|
const char * const boolToString(bool b)
|
||||||
{
|
{
|
||||||
return b ? "true" : "false";
|
return b ? "true" : "false";
|
||||||
|
Reference in New Issue
Block a user