eris: require external definition of luai_writestring
This commit is contained in:
@@ -83,7 +83,14 @@
|
||||
#endif
|
||||
|
||||
|
||||
void luai_writestring(const char *s, size_t len) {
|
||||
fwrite((s), sizeof(char), (len), stdout);
|
||||
}
|
||||
|
||||
void luai_writeline() {
|
||||
fwrite("\n", sizeof(char), 1, stdout);
|
||||
fflush(stdout);
|
||||
}
|
||||
|
||||
static lua_State *globalL = NULL;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user