aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1997-09-16 16:25:59 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1997-09-16 16:25:59 -0300
commitd600a6b5b358c28d482b01f10bfa3292b17f5d12 (patch)
tree8f9047a23315351b32571092cade0883ace6f60e
parent75ac0d217266dba48a887df96d37398140e22b9e (diff)
downloadlua-d600a6b5b358c28d482b01f10bfa3292b17f5d12.tar.gz
lua-d600a6b5b358c28d482b01f10bfa3292b17f5d12.tar.bz2
lua-d600a6b5b358c28d482b01f10bfa3292b17f5d12.zip
a generic input stream interface
-rw-r--r--lzio.c (renamed from zio.c)13
-rw-r--r--lzio.h (renamed from zio.h)11
2 files changed, 14 insertions, 10 deletions
diff --git a/zio.c b/lzio.c
index c0b25daa..bd714ea1 100644
--- a/zio.c
+++ b/lzio.c
@@ -1,13 +1,16 @@
1/* 1/*
2* zio.c 2** $Id: zio.c,v 1.2 1997/06/20 19:25:54 roberto Exp $
3* a generic input stream interface 3** a generic input stream interface
4* $Id: zio.c,v 1.1 1997/06/16 16:50:22 roberto Exp roberto $ 4** See Copyright Notice in lua.h
5*/ 5*/
6 6
7
8
7#include <stdio.h> 9#include <stdio.h>
8#include <stdlib.h>
9#include <string.h> 10#include <string.h>
10#include "zio.h" 11
12#include "lzio.h"
13
11 14
12 15
13/* ----------------------------------------------------- memory buffers --- */ 16/* ----------------------------------------------------- memory buffers --- */
diff --git a/zio.h b/lzio.h
index c688df55..31ce948e 100644
--- a/zio.h
+++ b/lzio.h
@@ -1,11 +1,12 @@
1/* 1/*
2* zio.h 2** $Id: $
3* a generic input stream interface 3** Buffered streams
4* $Id: zio.h,v 1.4 1997/06/19 18:55:28 roberto Exp roberto $ 4** See Copyright Notice in lua.h
5*/ 5*/
6 6
7#ifndef zio_h 7
8#define zio_h 8#ifndef lzio_h
9#define lzio_h
9 10
10#include <stdio.h> 11#include <stdio.h>
11 12