mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-15 23:04:08 +10:00
Tweaked TOY_EXPORT omitting extra repl stuff
This commit is contained in:
@@ -12,12 +12,17 @@
|
||||
#include <string.h>
|
||||
|
||||
static void printWrapper(const char* output) {
|
||||
//allow for disabling of newlines in the repl
|
||||
#ifndef TOY_EXPORT
|
||||
if (Toy_commandLine.enablePrintNewline) {
|
||||
printf("%s\n", output);
|
||||
}
|
||||
else {
|
||||
printf("%s", output);
|
||||
}
|
||||
#else
|
||||
printf("%s\n", output);
|
||||
#endif
|
||||
}
|
||||
|
||||
static void assertWrapper(const char* output) {
|
||||
|
||||
Reference in New Issue
Block a user