summaryrefslogtreecommitdiff
path: root/lfunc.h (unfollow)
Commit message (Expand)AuthorFilesLines
2015-01-05new macro 'cast_func' adds '__extension__' (in gnu compilers) whenRoberto Ierusalimschy1-2/+14
2015-01-05includes 'stddef.h' (as it uses NULL)Roberto Ierusalimschy2-5/+9
2015-01-02detail (added -Wconversion as a comment, to be used ocasionally)Roberto Ierusalimschy1-0/+1
2015-01-02'lua_setlocal' should not pop value when failing (to be consistentRoberto Ierusalimschy2-5/+11
2015-01-02clearer(?) code (also avoids a warning about 'c' being usedRoberto Ierusalimschy1-5/+3
2014-12-29does not define _XOPEN_SOURCE when LUA_USE_C89 is defined + definingRoberto Ierusalimschy1-2/+8
2014-12-29all "divisions" (div,idiv,mod) by zero are not folded, to avoidRoberto Ierusalimschy1-24/+10
2014-12-29detail (macro 'luai_numidiv' uses 'luai_numdiv' to compute the division)Roberto Ierusalimschy1-2/+2
2014-12-27bug: 'random' limit is 2^31-1, not RAND_MAXRoberto Ierusalimschy1-3/+5
2014-12-27detailsRoberto Ierusalimschy1-4/+4
2014-12-27change in macro 'vmcase', avoding code inside it. (Code inside theRoberto Ierusalimschy1-97/+142
2014-12-26new year (2015)Roberto Ierusalimschy1-3/+3
2014-12-26detail (to avoid warnings)Roberto Ierusalimschy1-3/+3
2014-12-26removed macro 'luai_numinvalidop' (main motivation removed, as foldingRoberto Ierusalimschy2-15/+2
2014-12-26removed useless initializationsRoberto Ierusalimschy2-4/+4
2014-12-20comments were wrong (not updated about several changes)Roberto Ierusalimschy1-6/+6
2014-12-19details in 'luaM_reallocvchar'Roberto Ierusalimschy2-5/+6
2014-12-19new macro 'luaM_reallocvchar' to allocate arrays of chars (avoidsRoberto Ierusalimschy2-3/+9
2014-12-19new macro 'nvalue' (to convert an object to a float when we knowRoberto Ierusalimschy3-10/+7
2014-12-19detail (in test for 'luai_numinvalidop', use a round float)Roberto Ierusalimschy1-2/+2
2014-12-19commentRoberto Ierusalimschy1-2/+2
2014-12-19old Visual Studio versions did not support 'noreturn' attributeRoberto Ierusalimschy1-2/+2
2014-12-18stupid bug in T.stacklevel (not in use by the tests)Roberto Ierusalimschy1-2/+2
2014-12-16Windows uses 'long long' (instead of '__int64') when present; again,Roberto Ierusalimschy1-15/+15
2014-12-16added macro LUA_USE_I64 for separate control of use of Windows-specificRoberto Ierusalimschy1-2/+3
2014-12-14traverse loaded modules (instead of globals) for a name for a function +Roberto Ierusalimschy1-5/+13
2014-12-13commentsRoberto Ierusalimschy1-11/+11
2014-12-13in traceback names, give preference to 'name' over '_G.name'Roberto Ierusalimschy1-3/+4
2014-12-12reinsertion-control macro renamed: lconfig_h -> luaconf_hRoberto Ierusalimschy1-3/+3
2014-12-11correct computation for limit in 'getnum'Roberto Ierusalimschy1-3/+3
2014-12-11better limits for 'sting.rep' and 'string.packsize'Roberto Ierusalimschy1-12/+17
2014-12-10new specifiers in 'strftime' are defined in C99 (not Posix)Roberto Ierusalimschy1-3/+3
2014-12-10'ipairs' needs an argumentRoberto Ierusalimschy1-1/+2
2014-12-10macro 'LUA_C89_NUMBERS' makes a little easier to use C89 numerical typesRoberto Ierusalimschy1-37/+25
2014-12-10new function 'string.packsize'Roberto Ierusalimschy1-1/+24
2014-12-10give preference to global names in tracebacksRoberto Ierusalimschy1-12/+10
2014-12-10new parameter for testC instruction 'pcall' (error handler)Roberto Ierusalimschy1-4/+4
2014-12-10error handler does not need to be a function (can be a callableRoberto Ierusalimschy1-2/+1
2014-12-09redefinition of LUAI_MAXSTACK to make stack-overflow tests run fasterRoberto Ierusalimschy1-1/+6
2014-12-09no more 'preloadedlibs' when opening libraries (as it is dead code now)Roberto Ierusalimschy2-26/+12
2014-12-08handle case where function was called as a hookRoberto Ierusalimschy1-4/+7
2014-12-08In 'debug.gethook', does not query hook table (which may not exist) ifRoberto Ierusalimschy1-6/+8
2014-12-08'assert' checks that it has (at least) one parameter + 'assert' ensuresRoberto Ierusalimschy1-4/+5
2014-12-08use 'namewhat' when building a tracebackRoberto Ierusalimschy1-2/+2
2014-12-08avoid octal numeralsRoberto Ierusalimschy1-2/+2
2014-12-06in test mode, debug library is not predefined (to allow testingRoberto Ierusalimschy2-3/+11
2014-12-04no more default size for option 'c' in pack/unpackRoberto Ierusalimschy1-2/+6
2014-11-29some functions from test module must be exportedRoberto Ierusalimschy1-4/+5
2014-11-29casts ('(int)' -> 'cast_int')Roberto Ierusalimschy1-9/+9
2014-11-29bug: lua_tounsignedx must cast to lua_Unsigned (of course...)Roberto Ierusalimschy1-2/+2