r21728 - gnucash/branches/2.4/src/engine - [r21727] Fix "imported from both (sw_engine) and (gnucash engine)"

John Ralls jralls at code.gnucash.org
Mon Dec 12 20:00:45 EST 2011


Author: jralls
Date: 2011-12-12 20:00:45 -0500 (Mon, 12 Dec 2011)
New Revision: 21728
Trac: http://svn.gnucash.org/trac/changeset/21728

Modified:
   gnucash/branches/2.4/src/engine/engine.i
Log:
[r21727] 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