Wireshark-commits: [Wireshark-commits] master a80b4fd: Lua: remove lua_data_handle
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sun, 21 Jul 2019 17:00:24 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=a80b4fdd409dec75e96475f9d17034788e296b88
Submitter: "Martin Kaiser <wireshark@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

a80b4fd by Peter Wu (peter@xxxxxxxxxxxxx):

    Lua: remove lua_data_handle
    
    Use call_data_dissector directly for the same effect as lua_data_handle.
    
    Remove the special case where DissectorTable.get_dissector() returns the
    data dissector for an unsupported type. The documentation says that nil
    is returned if the handle is not found, that seems more appropriate.
    
    Change-Id: I128ef90b79bda925a4329202a0b9956e1cf16200
    Reviewed-on: https://code.wireshark.org/review/34032
    Petri-Dish: Peter Wu <peter@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Martin Kaiser <wireshark@xxxxxxxxx>
    

Actions performed:

    from  4e2a63f   Qt: Fix copy-from menu
     add  a80b4fd   Lua: remove lua_data_handle


Summary of changes:
 epan/wslua/init_wslua.c      | 4 ----
 epan/wslua/wslua.h           | 1 -
 epan/wslua/wslua_dissector.c | 4 ++--
 3 files changed, 2 insertions(+), 7 deletions(-)