diff options
Diffstat (limited to 'lzio.c')
-rw-r--r-- | lzio.c | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lzio.c,v 1.14 2001/03/26 14:31:49 roberto Exp $ | 2 | ** $Id: lzio.c,v 1.15 2001/11/28 20:13:13 roberto Exp roberto $ |
3 | ** a generic input stream interface | 3 | ** a generic input stream interface |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -33,12 +33,6 @@ ZIO* zmopen (ZIO* z, const char* b, size_t size, const char *name) { | |||
33 | return z; | 33 | return z; |
34 | } | 34 | } |
35 | 35 | ||
36 | /* ------------------------------------------------------------ strings --- */ | ||
37 | |||
38 | ZIO* zsopen (ZIO* z, const char* s, const char *name) { | ||
39 | if (s==NULL) return NULL; | ||
40 | return zmopen(z, s, strlen(s), name); | ||
41 | } | ||
42 | 36 | ||
43 | /* -------------------------------------------------------------- FILEs --- */ | 37 | /* -------------------------------------------------------------- FILEs --- */ |
44 | 38 | ||