RE: ORBit_small_freekids howto
- From: Michael Meeks <michael ximian com>
- To: Johan Antonsson <Johan Antonsson ibitec se>
- Cc: Frank Rehberger <Frank Rehberger web de>,"Orbit-List (E-mail)" <orbit-list gnome org>
- Subject: RE: ORBit_small_freekids howto
- Date: Mon, 12 Jan 2004 10:52:55 +0000
Hi Johan,
On Fri, 2004-01-09 at 15:43, Johan Antonsson wrote:
> Does this mean that I'm not supposed to use the macros generated
> from idl and which are located in the .h file? Se below. I was
> under the assumption that I have to allocate an
> se_foi_flex_appl_adapterinterface_dc_C_KeyValuePair with
> se_foi_flex_appl_adapterinterface_dc_C_KeyValuePair__alloc().
> If that's not the case, what is the recommended approach?
> ORBit_alloc_tcval, malloc? Do you have any good examples
> of similar use?
I think the trick is: if you want to use these internals - be clueful;
ie. go read the implementation - which is not complex to see what it
does; write a gtk-doc style comment and send it as a patch to us :-)
Otherwise - just use the generated headers.
The reason this is a macro is to save time / space / link slots. It
frees the allocated children of a complex type but not the type itself.
HTH,
Michael.
--
michael@ximian.com <><, Pseudo Engineer, itinerant idiot
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]