diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-02-17 16:30:36 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-02-17 16:30:36 -0200 |
commit | 1f01998516ca5f702af3e3655f6c38bfc581aae3 (patch) | |
tree | db112d9a11e0c39701dd072fb01d210406df92dd /lobject.h | |
parent | c929376d59daa027bbe340ac3a50794592621e88 (diff) | |
download | lua-1f01998516ca5f702af3e3655f6c38bfc581aae3.tar.gz lua-1f01998516ca5f702af3e3655f6c38bfc581aae3.tar.bz2 lua-1f01998516ca5f702af3e3655f6c38bfc581aae3.zip |
nobody uses memmove any more.
Diffstat (limited to 'lobject.h')
-rw-r--r-- | lobject.h | 10 |
1 files changed, 1 insertions, 9 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lobject.h,v 1.46 2000/02/11 16:52:54 roberto Exp roberto $ | 2 | ** $Id: lobject.h,v 1.47 2000/02/14 16:51:08 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 | */ |
@@ -237,13 +237,5 @@ int luaO_equalval (const TObject *t1, const TObject *t2); | |||
237 | int luaO_redimension (lua_State *L, int oldsize); | 237 | int luaO_redimension (lua_State *L, int oldsize); |
238 | int luaO_str2d (const char *s, real *result); | 238 | int luaO_str2d (const char *s, real *result); |
239 | 239 | ||
240 | #ifdef OLD_ANSI | ||
241 | void luaO_memup (void *dest, void *src, int size); | ||
242 | void luaO_memdown (void *dest, void *src, int size); | ||
243 | #else | ||
244 | #include <string.h> | ||
245 | #define luaO_memup(d,s,n) memmove(d,s,n) | ||
246 | #define luaO_memdown(d,s,n) memmove(d,s,n) | ||
247 | #endif | ||
248 | 240 | ||
249 | #endif | 241 | #endif |