summaryrefslogtreecommitdiff
path: root/epan/wslua/lua_bitop.c
AgeCommit message (Collapse)AuthorFilesLines
2014-02-04Fix bug 9720 'Lua: bitop library is missing in Lua 5.2'Hadriel Kaplan1-1/+3
In Lua 5.2 the bitop library is missing - it's not getting loaded into the lua global table as "bit", or anything else for that matter. Lua 5.2 has its own bit-operations library ("bit32") which is there, but that one's not as good as bitop and would break back/forward compatibility for lua scripts anyway. Change-Id: I94b7d45bbeb2f637d1c76b0b5c9d8472eebfcaea Reviewed-on: https://code.wireshark.org/review/100 Reviewed-by: Evan Huus <eapache@gmail.com> Tested-by: Evan Huus <eapache@gmail.com> Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
2014-01-13In a source file that defines external functions, the header file thatGuy Harris1-0/+2
declares the functions must be included, in order to make sure the declarations match the function signature. Make it so - which means creating the header file in the first place. That means luaopen_bit() doesn't need to, and shouldn't be, declared in wslua.h. Have make-reg.pl generate a #include of lua_bitop.h. Also fix the "this is autogenerated" warning. svn path=/trunk/; revision=54725
2013-03-15Update Lua BitOp to version 1.0.2Stig Bjørlykke1-13/+15
svn path=/trunk/; revision=48316
2012-07-18Fix some system header files that were #included with "" instead of <>.Evan Huus1-2/+2
They made cppcheck unhappy. svn path=/trunk/; revision=43779
2012-06-25From Tony Trinh:Anders Broman1-1/+8
Update Lua from 5.1 to 5.2 https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7400 svn path=/trunk/; revision=43479
2009-06-16Added Lua BitOp, made by Mike Pall.Stig Bjørlykke1-0/+180
svn path=/trunk/; revision=28758