Wireshark-commits: [Wireshark-commits] master 6e1d30c: wslua: simplify __WSLUA_REGISTER_META and _C

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 26 Feb 2019 05:32:48 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=6e1d30ce878d1ce706ad10dfe9699ec5dd3ef6a4
Submitter: "Anders Broman <a.broman58@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

6e1d30c by Martin Kaiser (wireshark@xxxxxxxxx):

    wslua: simplify __WSLUA_REGISTER_META and _CLASS
    
    Get rid of ATTRS_BLOCK, which is either empty or sets a value for attr.
    We can initialize attr in any case, either to NULL or to the attributes
    provided by the caller. This makes the code a bit easier to read (at
    least for me).
    
    Change-Id: Ib26ea5ec099b365303de5aaf407470ad48b126f9
    Reviewed-on: https://code.wireshark.org/review/32186
    Reviewed-by: Martin Kaiser <wireshark@xxxxxxxxx>
    Petri-Dish: Martin Kaiser <wireshark@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  092d73e   macos-setup: Update our GMP build flags.
     add  6e1d30c   wslua: simplify __WSLUA_REGISTER_META and _CLASS


Summary of changes:
 epan/wslua/wslua.h | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)