Two questions regarding the python-bindings

Christoph Holtermann c.holtermann at gmx.de
Wed Dec 15 08:28:45 EST 2010


 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.
    * 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.

regards,

Christoph Holtermann

[1] https://bugzilla.gnome.org/show_bug.cgi?id=636808



More information about the gnucash-devel mailing list