Wireshark-commits: [Wireshark-commits] rev 54725: / /trunk/epan/wslua/: Makefile.am lua_bitop.c lua

Date: Mon, 13 Jan 2014 22:06:13 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=54725

User: guy
Date: 2014/01/13 10:06 PM

Log:
 In a source file that defines external functions, the header file that
 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.

Directory: /trunk/epan/wslua/
  Changes    Path           Action
  +1 -0      Makefile.am    Modified
  +2 -0      lua_bitop.c    Modified
  +34 -0     lua_bitop.h    Added
  +5 -3      make-reg.pl    Modified
  +0 -2      wslua.h        Modified