lua

A copy of the Lua development repository
Log | Files | Refs | README

commit 9caf5b4f796879e16ccb2f6ebbc3887c604bc2f0
parent 50cddefeeb409ce3cd696abc5b1e6303089266a9
Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date:   Fri, 30 Sep 2011 09:45:42 -0300

lint (unused definition)

Diffstat:
Mllimits.h | 3+--
Mlstate.h | 4+---
Mltable.c | 9+--------
3 files changed, 3 insertions(+), 13 deletions(-)

diff --git a/llimits.h b/llimits.h @@ -1,5 +1,5 @@ /* -** $Id: llimits.h,v 1.90 2011/07/02 15:57:25 roberto Exp roberto $ +** $Id: llimits.h,v 1.91 2011/09/13 17:39:23 roberto Exp roberto $ ** Limits, basic types, and some other `installation-dependent' definitions ** See Copyright Notice in lua.h */ @@ -30,7 +30,6 @@ typedef unsigned char lu_byte; #define MAX_SIZET ((size_t)(~(size_t)0)-2) #define MAX_LUMEM ((lu_mem)(~(lu_mem)0)-2) -#define MIN_LMEM ((l_mem)~((~(lu_mem)0)>>1)) #define MAX_INT (INT_MAX-2) /* maximum value of an int (-2 for safety) */ diff --git a/lstate.h b/lstate.h @@ -1,5 +1,5 @@ /* -** $Id: lstate.h,v 2.72 2011/06/02 19:31:40 roberto Exp roberto $ +** $Id: lstate.h,v 2.73 2011/08/23 17:24:34 roberto Exp roberto $ ** Global State ** See Copyright Notice in lua.h */ @@ -47,8 +47,6 @@ struct lua_longjmp; /* defined in ldo.c */ #define EXTRA_STACK 5 -#define BASIC_CI_SIZE 8 - #define BASIC_STACK_SIZE (2*LUA_MINSTACK) diff --git a/ltable.c b/ltable.c @@ -1,5 +1,5 @@ /* -** $Id: ltable.c,v 2.63 2011/09/15 17:09:02 roberto Exp roberto $ +** $Id: ltable.c,v 2.64 2011/09/24 21:12:01 roberto Exp roberto $ ** Lua tables (hash) ** See Copyright Notice in lua.h */ @@ -64,13 +64,6 @@ #define hashpointer(t,p) hashmod(t, IntPoint(p)) -/* -** number of ints inside a lua_Number -*/ -#define numints cast_int(sizeof(lua_Number)/sizeof(int)) - - - #define dummynode (&dummynode_) #define isdummy(n) ((n) == dummynode)