From e940ce85240b185806225096b8ee37d96f3a89e2 Mon Sep 17 00:00:00 2001 From: Geert Janssens Date: Sat, 5 Oct 2019 16:04:45 +0200 Subject: [PATCH] engine.scm - a few minor cosmetics - drop export of non-existing symbol - add a couple of comments --- bindings/guile/engine.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bindings/guile/engine.scm b/bindings/guile/engine.scm index df7e72dc66..539d0730ec 100644 --- a/bindings/guile/engine.scm +++ b/bindings/guile/engine.scm @@ -24,9 +24,11 @@ (load-extension "libgnucash-guile" "gnc_guile_bindings_init")) (use-modules (sw_engine)) +; Export the swig-wrapped symbols in the public interface of this module (let ((i (module-public-interface (current-module)))) (module-use! i (resolve-interface '(sw_engine)))) +;; gnc-numeric.scm (export GNC-RND-FLOOR) (export GNC-RND-CEIL) (export GNC-RND-TRUNC) @@ -53,6 +55,7 @@ (export gnc:gnc-monetary-amount) (export gnc:monetary-neg) +;; commodity-table.scm (export GNC_COMMODITY_NS_CURRENCY) (export GNC_COMMODITY_NS_NASDAQ) (export GNC_COMMODITY_NS_NYSE) @@ -60,8 +63,6 @@ (export GNC_COMMODITY_NS_EUREX) (export GNC_COMMODITY_NS_MUTUAL) -(export gnc:url->loaded-session) - ;; engine-utilities.scm (export gnc:account-map-descendants) (export gnc:account-map-children)