mirror of
https://github.com/minetest/irrlicht.git
synced 2025-02-22 22:00:26 +01:00
Make my life a bit easier
This commit is contained in:
parent
177e247c7b
commit
9a5e6dd436
@ -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";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user