aboutsummaryrefslogtreecommitdiff
path: root/lstring.h
diff options
context:
space:
mode:
Diffstat (limited to 'lstring.h')
-rw-r--r--lstring.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/lstring.h b/lstring.h
index b7226d83..c88357aa 100644
--- a/lstring.h
+++ b/lstring.h
@@ -20,6 +20,17 @@
20 20
21 21
22/* 22/*
23** Maximum length for short strings, that is, strings that are
24** internalized. (Cannot be smaller than reserved words or tags for
25** metamethods, as these strings must be internalized;
26** #("function") = 8, #("__newindex") = 10.)
27*/
28#if !defined(LUAI_MAXSHORTLEN)
29#define LUAI_MAXSHORTLEN 40
30#endif
31
32
33/*
23** Size of a short TString: Size of the header plus space for the string 34** Size of a short TString: Size of the header plus space for the string
24** itself (including final '\0'). 35** itself (including final '\0').
25*/ 36*/