r21727 - gnucash/trunk/src/engine - Fix "imported from both (sw_engine) and (gnucash engine)" errors from Guile

John Ralls jralls at code.gnucash.org
Mon Dec 12 17:42:14 EST 2011


Author: jralls
Date: 2011-12-12 17:42:14 -0500 (Mon, 12 Dec 2011)
New Revision: 21727
Trac: http://svn.gnucash.org/trac/changeset/21727

Modified:
   gnucash/trunk/src/engine/engine.i
Log:
Fix "imported from both (sw_engine) and (gnucash engine)" errors from Guile

The GncNumericErrorCode enums are re-defined in src/engine/gnc-numeric.scm -- the SWIG way of representing them produces type errors in the report code. This may well be a problem with the calling code, but it's easier at this point to just not import the symbols into sw_engine.

gnc_commodity_table_get_quotable_commodities is explicitly wrapped in app-utils.i, so we need to not have the default wrapper in sw_engine.



More information about the gnucash-patches mailing list