Two questions regarding the python-bindings

Derek Atkins warlord at MIT.EDU
Wed Dec 15 11:04:46 EST 2010


Hi,

Christoph Holtermann <c.holtermann at gmx.de> writes:

>  Hello !
>
> I have two questions regarding the python-bindings :
>
>     * What is the difference between src/base-typemaps.i and
>       src/optional/python-bindings/glib.i ? In both the same check for glists is
>       done.

Unfortunately the python bindings don't share the swig interface files
with the scheme bindings.

base-typemaps.i is scheme.
glib.i is python

>     * Is it possible to access the type gnc_monetary like bending or changing the type
>       inside python without changing the .i-files, so that if I know which type it is really, I
>       could change the type to that. For example without the suggested patch in [1]
>       gnc_monetary is returned instead of gnc_commodity_namespace. Is there a way
>       to access the (namespace)-data which is erraneously declared a gnc_monetary.

This I don't know, sorry.

> regards,
>
> Christoph Holtermann
>
> [1] https://bugzilla.gnome.org/show_bug.cgi?id=636808

-derek

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available


More information about the gnucash-devel mailing list