aboutsummaryrefslogtreecommitdiff
path: root/llimits.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2012-03-28 15:27:25 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2012-03-28 15:27:25 -0300
commitafc3fcf952aa9c09732edcc1f7c39d081e1cc909 (patch)
treec9d3156a2f7d2707097c30b8fd84f1227de2e6eb /llimits.h
parent99bd1a000f067bd0e00f4b04db5d51f170c50ce3 (diff)
downloadlua-afc3fcf952aa9c09732edcc1f7c39d081e1cc909.tar.gz
lua-afc3fcf952aa9c09732edcc1f7c39d081e1cc909.tar.bz2
lua-afc3fcf952aa9c09732edcc1f7c39d081e1cc909.zip
definition for 'LUA_MAXSHORTLEN' moved to 'lstring.c' (used only there)
Diffstat (limited to 'llimits.h')
-rw-r--r--llimits.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/llimits.h b/llimits.h
index 5466a6b6..2a7761b4 100644
--- a/llimits.h
+++ b/llimits.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: llimits.h,v 1.95 2011/12/06 16:58:36 roberto Exp roberto $ 2** $Id: llimits.h,v 1.96 2012/01/25 21:05:40 roberto Exp roberto $
3** Limits, basic types, and some other `installation-dependent' definitions 3** Limits, basic types, and some other `installation-dependent' definitions
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -125,15 +125,6 @@ typedef LUAI_UACNUMBER l_uacNumber;
125 125
126 126
127/* 127/*
128** maximum length for short strings, that is, strings that are
129** internalized. (Cannot be smaller than reserved words or tags
130** for metamethods; #"function" = 8, #"__newindex" = 10; should
131** not be larger than 255, to allow future changes)
132*/
133#define LUA_MAXSHORTLEN (8 * sizeof(void*))
134
135
136/*
137** type for virtual-machine instructions 128** type for virtual-machine instructions
138** must be an unsigned with (at least) 4 bytes (see details in lopcodes.h) 129** must be an unsigned with (at least) 4 bytes (see details in lopcodes.h)
139*/ 130*/