diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1997-12-26 16:38:16 -0200 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1997-12-26 16:38:16 -0200 |
| commit | da96eb2cceb9a4b89ee3d08747d3306d166f9c87 (patch) | |
| tree | 65ee363e339cbd55199af68ba34ffba2b9a57c88 /lobject.h | |
| parent | fada8efd017c9834607a8d634d2f2a2c0c5d5289 (diff) | |
| download | lua-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.h | 15 |
1 files changed, 11 insertions, 4 deletions
| @@ -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); | |||
| 181 | int luaO_findstring (char *name, char *list[]); | 180 | int luaO_findstring (char *name, char *list[]); |
| 182 | void luaO_insertlist (GCnode *root, GCnode *node); | 181 | void luaO_insertlist (GCnode *root, GCnode *node); |
| 183 | 182 | ||
| 183 | #ifdef OLD_ANSI | ||
| 184 | void luaO_memup (void *dest, void *src, int size); | ||
| 185 | void 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 |
