proto_item_set_text() compiles and works when I pass a proto_tree* as the first parameter, but it's declared as requiring a proto_item*: extern void proto_item_set_text(proto_item *ti, .....);
Is some RTTI used, that translates proto_tree* to proto_item*? I didn't find documentation about this. And, most notably, is it legal for me to do that? Thanks in advance, Luca ___________________________________________________________________________ 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-requ...@wireshark.org?subject=unsubscribe