Wireshark mailing list archives

Re: [Wireshark-commits] rev 35253: /trunk//trunk/doc/: README.developer /trunk/epan/: tvbuff.c tvbuff.h


From: "news.gmane.com" <AndreasSander1 () gmx net>
Date: Mon, 3 Jan 2011 12:45:40 +0100


"Guy Harris" <guy () alum mit edu> wrote in message 
news:5A603E1E-A225-4C40-B161-38C90867C73E () alum mit edu...

On Jan 3, 2011, at 12:50 AM, news.gmane.com wrote:
Does this replaces tvb_get_ephemeral_faked_unicode?
The function name suggests, that the return value must be released.
This is not true. See below.


Within the context of Wireshark, no, it doesn't; it suggests, due to the
"ephemeral" in the name, that it's automatically released when dissection
is started on a new packet,
Oh, that's my mistake. I completely mis-understood the meaning of 
'ephemeral'. So the function already supports, what I requested for.

Is there
also a function returning a string that will be garbage collected?

No - Wireshark doesn't do garbage collection

I had the limited lifetime in mind when talking about G.C. Don't know where 
I read about this naming in context of limited lifetime. I must be a bit 
confused here.

--
Andy



___________________________________________________________________________
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: