|
|
@@ -909,13 +909,13 @@ static const rotable_Reg_t iolib[] = {
|
|
|
{"open", ROREG_FUNC(io_open)},
|
|
|
#ifdef LUA_USE_WINDOWS
|
|
|
{"popen", ROREG_FUNC(io_popen)},
|
|
|
- {"read", io_read, 0},
|
|
|
- {"tmpfile", io_tmpfile, 0},
|
|
|
- {"write", io_write, 0},
|
|
|
- {"close", io_close, 0},
|
|
|
- {"flush", io_flush, 0},
|
|
|
- {"input", io_input, 0},
|
|
|
- {"output", io_output,0},
|
|
|
+ {"read", ROREG_FUNC(io_read)},
|
|
|
+ {"tmpfile", ROREG_FUNC(io_tmpfile)},
|
|
|
+ {"write", ROREG_FUNC(io_write)},
|
|
|
+ {"close", ROREG_FUNC(io_close)},
|
|
|
+ {"flush", ROREG_FUNC(io_flush)},
|
|
|
+ {"input", ROREG_FUNC(io_input)},
|
|
|
+ {"output", ROREG_FUNC(io_output)},
|
|
|
#endif
|
|
|
{"type", ROREG_FUNC(io_type)},
|
|
|
{"exists", ROREG_FUNC(io_exists)},
|