Skip to content

Commit 212effe

Browse files
[gnc-engine-guile.cpp] helper gnc_split_to_scm function
1 parent fee6253 commit 212effe

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

bindings/guile/gnc-engine-guile.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1787,6 +1787,11 @@ gnc_book_to_scm (const QofBook *book)
17871787
return gnc_generic_to_scm(book, "_p_QofBook");
17881788
}
17891789

1790+
SCM gnc_split_to_scm (const Split *split)
1791+
{
1792+
return gnc_generic_to_scm (split, "_p_Split");
1793+
}
1794+
17901795
static swig_type_info *
17911796
get_acct_type ()
17921797
{

bindings/guile/gnc-engine-guile.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ SCM gnc_commodity_to_scm(const gnc_commodity* commodity);
6666

6767
SCM gnc_book_to_scm(const QofBook* book);
6868

69+
SCM gnc_split_to_scm (const Split *split);
70+
6971
/* Conversion routines used with tax tables */
7072
GncAccountValue* gnc_scm_to_account_value_ptr(SCM valuearg);
7173

0 commit comments

Comments
 (0)