Charles Day writes:
> Either that or gnc_guid2scm(guidnull()) ??
> I'm not sure why it is the way it is, nor am I sure what it SHOULD be.
> SCM_BOOL_F probably is correct.
>
> qof_instance_get_guid() can return a normal GUID, guid_null(), or NULL (upon
> failure). So it seems there ou
On Wed, Feb 18, 2009 at 7:03 AM, Derek Atkins wrote:
> Charles Day writes:
>
> > I have a question about the current type mapping that swig does for GUID
> > pointers. Currently, if a C function returns a GUID* that is a null
> pointer
> > (== NULL), swig converts it to SCM_UNDEFINED and hands t
Charles Day writes:
> I have a question about the current type mapping that swig does for GUID
> pointers. Currently, if a C function returns a GUID* that is a null pointer
> (== NULL), swig converts it to SCM_UNDEFINED and hands that to guile. From
> src/base-typemaps.i:
> %typemap(out) GUID * "
I have a question about the current type mapping that swig does for GUID
pointers. Currently, if a C function returns a GUID* that is a null pointer
(== NULL), swig converts it to SCM_UNDEFINED and hands that to guile. From
src/base-typemaps.i:
%typemap(out) GUID * " $result = ($1) ? gnc_guid2scm(*