summaryrefslogtreecommitdiffstats
path: root/lem/io/stream.c
diff options
context:
space:
mode:
Diffstat (limited to 'lem/io/stream.c')
-rw-r--r--lem/io/stream.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/lem/io/stream.c b/lem/io/stream.c
index 47a5775..db23e91 100644
--- a/lem/io/stream.c
+++ b/lem/io/stream.c
@@ -559,3 +559,10 @@ stream_sendfile(lua_State *T)
lua_settop(T, 2);
return lua_yield(T, 2);
}
+
+static int
+stream_print(lua_State *T)
+{
+ io_print(T);
+ return stream_write(T);
+}