Browse Source

exported functions follow "lua" prefix rule.

Roberto Ierusalimschy 28 years ago
parent
commit
b9e31f73ee
1 changed files with 10 additions and 1 deletions
  1. 10 1
      zio.h

+ 10 - 1
zio.h

@@ -1,7 +1,7 @@
 /*
 * zio.h
 * a generic input stream interface
-* $Id: zio.h,v 1.4 1997/06/13 13:49:16 lhf Exp $
+* $Id: zio.h,v 1.1 1997/06/16 16:50:22 roberto Exp roberto $
 */
 
 #ifndef zio_h
@@ -9,6 +9,15 @@
 
 #include <stdio.h>
 
+
+
+/* For Lua only */
+#define zFopen	luaz_Fopen
+#define zfopen	luaz_fopen
+#define zpopen	luaz_popen
+#define zsopen	luaz_sopen
+#define zmopen	luaz_mopen
+
 #define EOZ	(-1)			/* end of stream */
 
 typedef struct zio ZIO;