summaryrefslogtreecommitdiff
path: root/lobject.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1997-12-26 16:38:16 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1997-12-26 16:38:16 -0200
commitda96eb2cceb9a4b89ee3d08747d3306d166f9c87 (patch)
tree65ee363e339cbd55199af68ba34ffba2b9a57c88 /lobject.h
parentfada8efd017c9834607a8d634d2f2a2c0c5d5289 (diff)
downloadlua-da96eb2cceb9a4b89ee3d08747d3306d166f9c87.tar.gz
lua-da96eb2cceb9a4b89ee3d08747d3306d166f9c87.tar.bz2
lua-da96eb2cceb9a4b89ee3d08747d3306d166f9c87.zip
some details related to OLD_ANSI
Diffstat (limited to 'lobject.h')
-rw-r--r--lobject.h15
1 files changed, 11 insertions, 4 deletions
diff --git a/lobject.h b/lobject.h
index 659b1c5f..366b1802 100644
--- a/lobject.h
+++ b/lobject.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lobject.h,v 1.11 1997/12/15 16:17:20 roberto Exp roberto $ 2** $Id: lobject.h,v 1.12 1997/12/23 19:24:19 roberto Exp roberto $
3** Type definitions for Lua objects 3** Type definitions for Lua objects
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -8,11 +8,10 @@
8#define lobject_h 8#define lobject_h
9 9
10 10
11#include "lua.h"
12
13
14#include <limits.h> 11#include <limits.h>
15 12
13#include "lua.h"
14
16 15
17/* 16/*
18** "real" is the type "number" of Lua 17** "real" is the type "number" of Lua
@@ -181,5 +180,13 @@ int luaO_redimension (int oldsize);
181int luaO_findstring (char *name, char *list[]); 180int luaO_findstring (char *name, char *list[]);
182void luaO_insertlist (GCnode *root, GCnode *node); 181void luaO_insertlist (GCnode *root, GCnode *node);
183 182
183#ifdef OLD_ANSI
184void luaO_memup (void *dest, void *src, int size);
185void luaO_memdown (void *dest, void *src, int size);
186#else
187#include <string.h>
188#define luaO_memup(d,s,n) memmove(d,s,n)
189#define luaO_memdown(d,s,n) memmove(d,s,n)
190#endif
184 191
185#endif 192#endif