summaryrefslogtreecommitdiff
path: root/ltm.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2018-06-01 13:51:34 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2018-06-01 13:51:34 -0300
commitfb8fa661366e15e98c60d8929feaab9e551a02f9 (patch)
treeb3eb16fcfe3eab8f4b07ccaa71c55011016ad005 /ltm.h
parentb3970649550fe8471c55bfae57aa3752ddfa97a9 (diff)
downloadlua-github-fb8fa661366e15e98c60d8929feaab9e551a02f9.tar.gz
no more 'luaH_emptyobject' and comparisons of addresses of global variables
(instead, use a different kind of nil to signal the fake entry returned when a key is not found in a table)
Diffstat (limited to 'ltm.h')
-rw-r--r--ltm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ltm.h b/ltm.h
index 24b9a84e..38b6e1b2 100644
--- a/ltm.h
+++ b/ltm.h
@@ -1,5 +1,5 @@
/*
-** $Id: ltm.h,v 2.35 2018/04/04 14:23:41 roberto Exp roberto $
+** $Id: ltm.h,v 2.36 2018/05/23 14:41:20 roberto Exp roberto $
** Tag methods
** See Copyright Notice in lua.h
*/
@@ -48,7 +48,7 @@ typedef enum {
** Test whether there is no tagmethod.
** (Because tagmethods use raw accesses, the result may be an "empty" nil.)
*/
-#define notm(tm) ttisnilorempty(tm)
+#define notm(tm) ttisnil(tm)
#define gfasttm(g,et,e) ((et) == NULL ? NULL : \