Browse Source

inclusao de 'lualib.h' para ter prototipos das funcoes de

'iolib_open' e 'strlib_open'.
v5-2
Waldemar Celes 31 years ago
parent
commit
c364c7286f
  1. 3
      iolib.c
  2. 3
      strlib.c

3
iolib.c

@ -3,7 +3,7 @@
** Input/output library to LUA
*/
char *rcs_iolib="$Id: iolib.c,v 1.5 1994/08/04 16:23:29 celes Exp celes $";
char *rcs_iolib="$Id: iolib.c,v 1.6 1994/08/11 23:11:57 celes Exp celes $";
#include <stdlib.h>
#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 $";
#include "mm.h"
#include "lua.h"
#include "lualib.h"
static FILE *in=stdin, *out=stdout;

3
strlib.c

@ -3,7 +3,7 @@
** String library to LUA
*/
char *rcs_strlib="$Id: strlib.c,v 1.1 1993/12/17 18:41:19 celes Exp celes $";
char *rcs_strlib="$Id: strlib.c,v 1.2 1994/03/28 15:14:02 celes Exp celes $";
#include <stdlib.h>
#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 $";
#include "lua.h"
#include "lualib.h"
/*
** Return the position of the first caracter of a substring into a string

Loading…
Cancel
Save