aboutsummaryrefslogtreecommitdiff
path: root/lobject.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2013-05-02 09:37:24 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2013-05-02 09:37:24 -0300
commit67532d5a10f9bdc8ed58c6babbce49788ae3be4d (patch)
tree21d3d9aa16c7406245d670977bde294a38ac92d1 /lobject.h
parent6920a7f2e3f8cbdb9c9d43fca720b9dd459be733 (diff)
downloadlua-67532d5a10f9bdc8ed58c6babbce49788ae3be4d.tar.gz
lua-67532d5a10f9bdc8ed58c6babbce49788ae3be4d.tar.bz2
lua-67532d5a10f9bdc8ed58c6babbce49788ae3be4d.zip
constant folding and API arithmetic with integers
Diffstat (limited to 'lobject.h')
-rw-r--r--lobject.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/lobject.h b/lobject.h
index 90931a64..3d03744f 100644
--- a/lobject.h
+++ b/lobject.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lobject.h,v 2.74 2013/04/16 18:46:28 roberto Exp roberto $ 2** $Id: lobject.h,v 2.75 2013/04/29 16:57:28 roberto Exp roberto $
3** Type definitions for Lua objects 3** Type definitions for Lua objects
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -496,7 +496,8 @@ LUAI_DDEC const TValue luaO_nilobject_;
496LUAI_FUNC int luaO_int2fb (unsigned int x); 496LUAI_FUNC int luaO_int2fb (unsigned int x);
497LUAI_FUNC int luaO_fb2int (int x); 497LUAI_FUNC int luaO_fb2int (int x);
498LUAI_FUNC int luaO_ceillog2 (unsigned int x); 498LUAI_FUNC int luaO_ceillog2 (unsigned int x);
499LUAI_FUNC lua_Number luaO_numarith (int op, lua_Number v1, lua_Number v2); 499LUAI_FUNC void luaO_arith (lua_State *L, int op, const TValue *p1,
500 const TValue *p2, TValue *res);
500LUAI_FUNC int luaO_str2d (const char *s, size_t len, lua_Number *result); 501LUAI_FUNC int luaO_str2d (const char *s, size_t len, lua_Number *result);
501LUAI_FUNC int luaO_str2int (const char *s, lua_Integer *result); 502LUAI_FUNC int luaO_str2int (const char *s, lua_Integer *result);
502LUAI_FUNC int luaO_hexavalue (int c); 503LUAI_FUNC int luaO_hexavalue (int c);