Wireshark-bugs: [Wireshark-bugs] [Bug 6764] Improve 11.10.6.1. ProtoField.new(name, abbr, type,

Date: Tue, 24 Jan 2012 14:21:27 -0800 (PST)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6764

Tony Trinh <tony19@xxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tony19@xxxxxxxxx

--- Comment #1 from Tony Trinh <tony19@xxxxxxxxx> 2012-01-24 14:21:26 PST ---
I agree the documentation can use improvement.

BASE_* refers to the C enumeration on which the Lua constants are based:
http://anonsvn.wireshark.org/viewvc/trunk/epan/proto.h?revision=40306&view=markup#l295

Same goes for FT_*:
http://anonsvn.wireshark.org/viewvc/trunk/epan/ftypes/ftypes.h?revision=38916&view=markup#l33

Neither of these prefixes are used in Lua. One would use: base.DEC, base.HEX,
ftypes.NONE, ftypes.UINT8, etc. See init.lua for the full listing.

I started a LuaAPI Wiki page (http://wiki.wireshark.org/LuaAPI) in an attempt
to offer "better" documentation, but I haven't touched it in a while. Feel free
to update the Wiki.

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.