g-wrap and glib container types...

Robert Graham Merkel rgmerk@mira.net
Tue, 7 Nov 2000 16:57:21 +1100

James LewisMoss writes:
 > >>>>> On 06 Nov 2000 14:41:10 -0600, Rob Browning <rlb@cs.utexas.edu> said:
 >  Rob> Robert and I have been trying to figure out how to handle glib
 >  Rob> container types (like GList, GSList, GArray, GHashTable, etc.) 
 >  Rob> cleanly from g-wrap.  Last time I thought hard about this, I
 >  Rob> thought I wanted to teach g-wrap how to handle these things
 >  Rob> directly, but I've since changed my opinion to be closer to what
 >  Rob> (I think) Robert was suggesting.
 > I'm curious what is the aim here.  Is it just to handle functions
 > returning or getting lists?  Does it have more specific code it's
 > trying to handle?  (Sorry if I've missed any earlier conversations.)
 > jim
Essentially - with the proviso that sometimes you want to do the
conversion to the scheme data type for manipulation within scheme, and
sometimes you want to keep it as a pointer to avoid unnecessary
conversion overhead.  If you've got a more elegant way to handle
things, I for one will be all ears :)

Robert Merkel	                           rgmerk@mira.net