Christopher Lam
23d964a6a4
g_list_free_full requires a GDestroyNotify
...
error in f4941a5b0
2021-10-09 12:03:57 +08:00
Christopher Lam
f4941a5b01
use g_list_free_full
2021-10-09 10:24:45 +08:00
Christopher Lam
140922a37e
QofQuery args must be destroyed after qof_query_merge
...
qof_query_merge returns a new QofQuery; the two merged QofQueries are
not explicitly destroyed.
2021-09-09 19:19:44 +08:00
Christopher Lam
a1c517b4ba
[gnc_scm_to_numeric] create NaN gnc_numeric instead of runtime error
...
If guile calls a C function which expects gnc_numeric but sends a
non-number, it will create a gnc_numeric_error object. This will allow
error gnc_numeric to be handled elsewhere.
Also the overflow gnc_numeric was incorrectly created.
2020-11-23 21:50:05 +08:00
Christopher Lam
8f32992100
[gnc-engine-guile.c] return #f when gnc_numeric has error
...
otherwise it'd throw guile div/0 exception
2020-11-23 08:08:27 +08:00
Geert Janssens
6a3505d01f
app-utils - move price-quotes support functions directly into bindings
...
- wrappers for glib functions go into glib-guile
- engine convenience functions go into gnc-engine-guile
2019-12-06 19:59:12 +01:00
Geert Janssens
02511401b7
bindings/guile cosmetic - rename source files for consistency
2019-12-06 19:59:11 +01:00