aboutsummaryrefslogtreecommitdiff
path: root/lobject.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2018-06-01 14:40:38 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2018-06-01 14:40:38 -0300
commit505fc9122255b8a2ef761720bca21fd5e9be8e73 (patch)
treecf3fe8068546547e7f53e86e16a32ee923a4c514 /lobject.c
parentfb8fa661366e15e98c60d8929feaab9e551a02f9 (diff)
downloadlua-505fc9122255b8a2ef761720bca21fd5e9be8e73.tar.gz
lua-505fc9122255b8a2ef761720bca21fd5e9be8e73.tar.bz2
lua-505fc9122255b8a2ef761720bca21fd5e9be8e73.zip
no more 'luaO_nilobject' to avoid comparison of global variable addresses
(now uses static variables)
Diffstat (limited to 'lobject.c')
-rw-r--r--lobject.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/lobject.c b/lobject.c
index 43dc1a25..8b8de37c 100644
--- a/lobject.c
+++ b/lobject.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lobject.c,v 2.124 2018/02/27 18:47:32 roberto Exp roberto $ 2** $Id: lobject.c,v 2.125 2018/04/25 16:26:20 roberto Exp roberto $
3** Some generic functions over Lua objects 3** Some generic functions over Lua objects
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -29,10 +29,6 @@
29#include "lvm.h" 29#include "lvm.h"
30 30
31 31
32
33LUAI_DDEF const TValue luaO_nilobject_ = {NILCONSTANT};
34
35
36/* 32/*
37** converts an integer to a "floating point byte", represented as 33** converts an integer to a "floating point byte", represented as
38** (eeeeexxx), where the real value is (1xxx) * 2^(eeeee - 1) if 34** (eeeeexxx), where the real value is (1xxx) * 2^(eeeee - 1) if