Robert Graham Merkel <[EMAIL PROTECTED]> writes:
> Yep, that makes sense.
>
> However, one minor concern, particularly if you want to wrap parts of
> glib itself. A lot of those functions are access functions that take
> a pointer to a glib container and return a void * (a gpointer,
> actually) that is a pointer to an entry in the container.
>
> Can we pass the returned gpointer to functions that take, say,
> Account *?
After talking with Bill, I'm going to implement
gwp:pointer-token-coerce that'll take a pointer-token and produce a
new pointer-token that's of the requested type. i.e.:
(gwp:pointer-token-coerce pt 'Account*)
This will be used to implement things like
(gwp:glib-list->list foo 'Account*)
OK. It seems like we have agreement. I'll get on it. Shouldn't take
too long.
I still have to deal with your enum patch, but I'll do that while
working on this.
Thanks
--
Rob Browning <[EMAIL PROTECTED]> PGP=E80E0D04F521A094 532B97F5D64E3930
_______________________________________________
gnucash-devel mailing list
[EMAIL PROTECTED]
http://www.gnumatic.com/cgi-bin/mailman/listinfo/gnucash-devel