Browse Source

new name for old "mem.h" (conflicts with some compiler libraries)

Roberto Ierusalimschy 28 năm trước cách đây
mục cha
commit
373363cb69
12 tập tin đã thay đổi với 35 bổ sung35 xóa
  1. 2 2
      fallback.c
  2. 1 1
      func.c
  3. 2 2
      hash.c
  4. 2 2
      inout.c
  5. 2 2
      lex.c
  6. 2 2
      lua.stx
  7. 2 2
      luamem.c
  8. 3 3
      luamem.h
  9. 13 13
      makefile
  10. 2 2
      opcode.c
  11. 2 2
      table.c
  12. 2 2
      tree.c

+ 2 - 2
fallback.c

@@ -3,13 +3,13 @@
 ** TecCGraf - PUC-Rio
 */
  
-char *rcs_fallback="$Id: fallback.c,v 1.33 1997/03/24 17:13:22 roberto Exp roberto $";
+char *rcs_fallback="$Id: fallback.c,v 1.34 1997/03/31 14:02:58 roberto Exp roberto $";
 
 #include <stdio.h>
 #include <string.h>
  
 #include "auxlib.h"
-#include "mem.h"
+#include "luamem.h"
 #include "fallback.h"
 #include "opcode.h"
 #include "lua.h"

+ 1 - 1
func.c

@@ -2,7 +2,7 @@
 
 #include "luadebug.h"
 #include "table.h"
-#include "mem.h"
+#include "luamem.h"
 #include "func.h"
 #include "opcode.h"
 

+ 2 - 2
hash.c

@@ -3,10 +3,10 @@
 ** hash manager for lua
 */
 
-char *rcs_hash="$Id: hash.c,v 2.37 1997/03/21 18:52:37 roberto Exp roberto $";
+char *rcs_hash="$Id: hash.c,v 2.38 1997/03/31 14:02:58 roberto Exp roberto $";
 
 
-#include "mem.h"
+#include "luamem.h"
 #include "opcode.h"
 #include "hash.h"
 #include "table.h"

+ 2 - 2
inout.c

@@ -5,7 +5,7 @@
 ** Also provides some predefined lua functions.
 */
 
-char *rcs_inout="$Id: inout.c,v 2.47 1997/03/19 19:41:10 roberto Exp roberto $";
+char *rcs_inout="$Id: inout.c,v 2.48 1997/03/20 19:20:23 roberto Exp roberto $";
 
 #include <stdio.h>
 #include <string.h>
@@ -18,7 +18,7 @@ char *rcs_inout="$Id: inout.c,v 2.47 1997/03/19 19:41:10 roberto Exp roberto $";
 #include "tree.h"
 #include "lua.h"
 #include "hash.h"
-#include "mem.h"
+#include "luamem.h"
 #include "fallback.h"
 
 

+ 2 - 2
lex.c

@@ -1,11 +1,11 @@
-char *rcs_lex = "$Id: lex.c,v 2.42 1997/02/07 13:49:46 roberto Exp roberto $";
+char *rcs_lex = "$Id: lex.c,v 2.43 1997/03/18 15:30:50 roberto Exp roberto $";
 
 
 #include <ctype.h>
 #include <string.h>
 
 #include "auxlib.h"
-#include "mem.h"
+#include "luamem.h"
 #include "tree.h"
 #include "table.h"
 #include "lex.h"

+ 2 - 2
lua.stx

@@ -1,13 +1,13 @@
 %{
 
-char *rcs_luastx = "$Id: lua.stx,v 3.44 1997/02/13 16:18:39 roberto Exp roberto $";
+char *rcs_luastx = "$Id: lua.stx,v 3.45 1997/03/06 17:30:55 roberto Exp roberto $";
 
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 
 #include "luadebug.h"
-#include "mem.h"
+#include "luamem.h"
 #include "lex.h"
 #include "opcode.h"
 #include "hash.h"

+ 2 - 2
luamem.c

@@ -3,11 +3,11 @@
 ** TecCGraf - PUC-Rio
 */
 
-char *rcs_mem = "$Id: mem.c,v 1.14 1997/02/25 11:12:28 roberto Exp roberto $";
+char *rcs_luamem = "$Id: mem.c,v 1.14 1997/03/03 19:55:38 roberto Exp roberto $";
 
 #include <stdlib.h>
 
-#include "mem.h"
+#include "luamem.h"
 #include "lua.h"
 
 

+ 3 - 3
luamem.h

@@ -1,11 +1,11 @@
 /*
 ** mem.c
 ** memory manager for lua
-** $Id: mem.h,v 1.7 1996/04/22 18:00:37 roberto Exp roberto $
+** $Id: luamem.h,v 1.8 1996/05/24 14:31:10 roberto Exp roberto $
 */
  
-#ifndef mem_h
-#define mem_h
+#ifndef luamem_h
+#define luamem_h
 
 #ifndef NULL
 #define NULL 0

+ 13 - 13
makefile

@@ -1,4 +1,4 @@
-# $Id: makefile,v 1.28 1997/03/05 13:37:04 roberto Exp roberto $
+# $Id: makefile,v 1.29 1997/03/17 17:01:10 roberto Exp roberto $
 
 #configuration
 
@@ -28,7 +28,7 @@ LUAOBJS = \
 	inout.o \
 	tree.o \
 	fallback.o \
-	mem.o \
+	luamem.o \
 	func.o \
 	undump.o \
 	auxlib.o
@@ -77,28 +77,28 @@ clear	:
 
 
 auxlib.o: auxlib.c lua.h
-fallback.o: fallback.c mem.h fallback.h lua.h opcode.h types.h tree.h \
+fallback.o: fallback.c luamem.h fallback.h lua.h opcode.h types.h tree.h \
  func.h table.h hash.h
 func.o: func.c luadebug.h lua.h table.h tree.h types.h opcode.h func.h \
- mem.h
-hash.o: hash.c mem.h opcode.h lua.h types.h tree.h func.h hash.h \
+ luamem.h
+hash.o: hash.c luamem.h opcode.h lua.h types.h tree.h func.h hash.h \
  table.h
 inout.o: inout.c lex.h opcode.h lua.h types.h tree.h func.h inout.h \
- table.h hash.h mem.h fallback.h
+ table.h hash.h luamem.h fallback.h
 iolib.o: iolib.c lua.h luadebug.h lualib.h
-lex.o: lex.c mem.h tree.h types.h table.h opcode.h lua.h func.h lex.h \
+lex.o: lex.c luamem.h tree.h types.h table.h opcode.h lua.h func.h lex.h \
  inout.h luadebug.h parser.h
 lua.o: lua.c lua.h lualib.h
 mathlib.o: mathlib.c lualib.h lua.h
-mem.o: mem.c mem.h lua.h
-opcode.o: opcode.c luadebug.h lua.h mem.h opcode.h types.h tree.h \
+luamem.o: luamem.c luamem.h lua.h
+opcode.o: opcode.c luadebug.h lua.h luamem.h opcode.h types.h tree.h \
  func.h hash.h inout.h table.h fallback.h undump.h
-parser.o: parser.c luadebug.h lua.h mem.h lex.h opcode.h types.h \
+parser.o: parser.c luadebug.h lua.h luamem.h lex.h opcode.h types.h \
  tree.h func.h hash.h inout.h table.h
 strlib.o: strlib.c lua.h lualib.h
-table.o: table.c mem.h opcode.h lua.h types.h tree.h func.h hash.h \
+table.o: table.c luamem.h opcode.h lua.h types.h tree.h func.h hash.h \
  table.h inout.h fallback.h luadebug.h
-tree.o: tree.c mem.h lua.h tree.h types.h lex.h hash.h opcode.h func.h \
+tree.o: tree.c luamem.h lua.h tree.h types.h lex.h hash.h opcode.h func.h \
  table.h fallback.h
-undump.o: undump.c opcode.h lua.h types.h tree.h func.h mem.h table.h \
+undump.o: undump.c opcode.h lua.h types.h tree.h func.h luamem.h table.h \
  undump.h

+ 2 - 2
opcode.c

@@ -3,7 +3,7 @@
 ** TecCGraf - PUC-Rio
 */
 
-char *rcs_opcode="$Id: opcode.c,v 3.86 1997/03/20 19:20:43 roberto Exp roberto $";
+char *rcs_opcode="$Id: opcode.c,v 3.87 1997/03/31 14:02:58 roberto Exp roberto $";
 
 #include <setjmp.h>
 #include <stdio.h>
@@ -11,7 +11,7 @@ char *rcs_opcode="$Id: opcode.c,v 3.86 1997/03/20 19:20:43 roberto Exp roberto $
 #include <stdlib.h>
 
 #include "luadebug.h"
-#include "mem.h"
+#include "luamem.h"
 #include "opcode.h"
 #include "hash.h"
 #include "inout.h"

+ 2 - 2
table.c

@@ -3,9 +3,9 @@
 ** Module to control static tables
 */
 
-char *rcs_table="$Id: table.c,v 2.63 1997/03/26 22:22:41 roberto Exp roberto $";
+char *rcs_table="$Id: table.c,v 2.64 1997/03/31 14:02:58 roberto Exp roberto $";
 
-#include "mem.h"
+#include "luamem.h"
 #include "opcode.h"
 #include "tree.h"
 #include "hash.h"

+ 2 - 2
tree.c

@@ -3,12 +3,12 @@
 ** TecCGraf - PUC-Rio
 */
  
-char *rcs_tree="$Id: tree.c,v 1.22 1997/03/19 19:41:10 roberto Exp roberto $";
+char *rcs_tree="$Id: tree.c,v 1.23 1997/03/31 14:02:58 roberto Exp roberto $";
 
 
 #include <string.h>
 
-#include "mem.h"
+#include "luamem.h"
 #include "lua.h"
 #include "tree.h"
 #include "lex.h"