aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Celes <celes@tecgraf.puc-rio.br>1994-08-17 12:10:04 -0300
committerWaldemar Celes <celes@tecgraf.puc-rio.br>1994-08-17 12:10:04 -0300
commitc364c7286fc99f306982acb9f184629126ca6889 (patch)
tree9e6f75ba33f3d35311646a241635871fbb6d2f55
parent7c05266050ce179597c339c4d4bbab31ce1bd2e4 (diff)
downloadlua-c364c7286fc99f306982acb9f184629126ca6889.tar.gz
lua-c364c7286fc99f306982acb9f184629126ca6889.tar.bz2
lua-c364c7286fc99f306982acb9f184629126ca6889.zip
inclusao de 'lualib.h' para ter prototipos das funcoes de
'iolib_open' e 'strlib_open'.
-rw-r--r--iolib.c3
-rw-r--r--strlib.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/iolib.c b/iolib.c
index 25cb6cb3..d67ce9d6 100644
--- a/iolib.c
+++ b/iolib.c
@@ -3,7 +3,7 @@
3** Input/output library to LUA 3** Input/output library to LUA
4*/ 4*/
5 5
6char *rcs_iolib="$Id: iolib.c,v 1.5 1994/08/04 16:23:29 celes Exp celes $"; 6char *rcs_iolib="$Id: iolib.c,v 1.6 1994/08/11 23:11:57 celes Exp celes $";
7 7
8#include <stdlib.h> 8#include <stdlib.h>
9#include <string.h> 9#include <string.h>
@@ -17,6 +17,7 @@ char *rcs_iolib="$Id: iolib.c,v 1.5 1994/08/04 16:23:29 celes Exp celes $";
17#include "mm.h" 17#include "mm.h"
18 18
19#include "lua.h" 19#include "lua.h"
20#include "lualib.h"
20 21
21static FILE *in=stdin, *out=stdout; 22static FILE *in=stdin, *out=stdout;
22 23
diff --git a/strlib.c b/strlib.c
index e2e2666c..9f683362 100644
--- a/strlib.c
+++ b/strlib.c
@@ -3,7 +3,7 @@
3** String library to LUA 3** String library to LUA
4*/ 4*/
5 5
6char *rcs_strlib="$Id: strlib.c,v 1.1 1993/12/17 18:41:19 celes Exp celes $"; 6char *rcs_strlib="$Id: strlib.c,v 1.2 1994/03/28 15:14:02 celes Exp celes $";
7 7
8#include <stdlib.h> 8#include <stdlib.h>
9#include <string.h> 9#include <string.h>
@@ -13,6 +13,7 @@ char *rcs_strlib="$Id: strlib.c,v 1.1 1993/12/17 18:41:19 celes Exp celes $";
13 13
14 14
15#include "lua.h" 15#include "lua.h"
16#include "lualib.h"
16 17
17/* 18/*
18** Return the position of the first caracter of a substring into a string 19** Return the position of the first caracter of a substring into a string