Wireshark mailing list archives
Re: Question regarding emem -> wmem conversion
From: Joerg Mayer <jmayer () loplof de>
Date: Fri, 13 Sep 2013 11:33:29 +0200
On Thu, Sep 12, 2013 at 12:38:37PM -0400, Evan Huus wrote:
Unfortunately emem.h is included everywhere via packet.h via packet_info.h via address.h, so there are dissectors that use it without including it directly. check-APIs is more reliable since it actually looks for the function calls.
I've tried to clean up the emem.h includes a bit and think I am finished except for epan/dissectors/. The reason is that the DISSECTOR_ASSERT... macros contain ep_macros, so I'd have to include emem.h in every dissector that calls DISSECTOR_ASSERT..., which doesn't look like a nice option but that's the problem with macros vs. functions. Ciao Jörg -- Joerg Mayer <jmayer () loplof de> We are stuck with technology when what we really want is just stuff that works. Some say that should read Microsoft instead of technology. ___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- Re: Question regarding emem -> wmem conversion, (continued)
- Re: Question regarding emem -> wmem conversion Joerg Mayer (Sep 12)
- Re: Question regarding emem -> wmem conversion Dario Lombardo (Sep 13)
- Re: Question regarding emem -> wmem conversion Joerg Mayer (Sep 13)
- Re: Question regarding emem -> wmem conversion Dario Lombardo (Sep 13)
- Re: Question regarding emem -> wmem conversion Dario Lombardo (Sep 13)
- Re: Question regarding emem -> wmem conversion Evan Huus (Sep 13)
- Re: Question regarding emem -> wmem conversion Dario Lombardo (Sep 13)
- Re: Question regarding emem -> wmem conversion Christopher Maynard (Sep 13)
- Re: Question regarding emem -> wmem conversion Christopher Maynard (Sep 13)
- Re: Question regarding emem -> wmem conversion Dario Lombardo (Sep 13)
- Re: Question regarding emem -> wmem conversion Joerg Mayer (Sep 13)