Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F132389241
D25977.id75513.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D25977.id75513.diff
View Options
Index: contrib/lua/src/luaconf.h.dist
===================================================================
--- contrib/lua/src/luaconf.h.dist
+++ contrib/lua/src/luaconf.h.dist
@@ -1,5 +1,5 @@
/*
-** $Id: luaconf.h,v 1.259 2016/12/22 13:08:50 roberto Exp $
+** $Id: luaconf.h,v 1.259.1.1 2017/04/19 17:29:57 roberto Exp $
** Configuration file for Lua
** See Copyright Notice in lua.h
*/
@@ -114,6 +114,7 @@
#define LUA_FLOAT_FLOAT 1
#define LUA_FLOAT_DOUBLE 2
#define LUA_FLOAT_LONGDOUBLE 3
+#define LUA_FLOAT_INT64 4
#if defined(LUA_32BITS) /* { */
/*
@@ -620,6 +621,13 @@
#endif
+/*
+@@ lua_pointer2str converts a pointer to a readable string in a
+** non-specified way.
+*/
+#define lua_pointer2str(buff,sz,p) l_sprintf(buff,sz,"%p",p)
+
+
/*
@@ lua_number2strx converts a float to an hexadecimal numeric string.
** In C99, 'sprintf' (with format specifiers '%a'/'%A') does that.
Index: lib/liblua/luaconf.h
===================================================================
--- lib/liblua/luaconf.h
+++ lib/liblua/luaconf.h
@@ -119,6 +119,7 @@
#define LUA_FLOAT_FLOAT 1
#define LUA_FLOAT_DOUBLE 2
#define LUA_FLOAT_LONGDOUBLE 3
+#define LUA_FLOAT_INT64 4
#if defined(LUA_32BITS) /* { */
/*
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Oct 17, 12:07 PM (19 h, 43 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
23800592
Default Alt Text
D25977.id75513.diff (1 KB)
Attached To
Mode
D25977: Fix -Wundef warnings when building liblua
Attached
Detach File
Event Timeline
Log In to Comment