[gnc-engine-guile.cpp] helper gnc_split_to_scm function

pull/2078/head
Christopher Lam 10 months ago
parent b219744dba
commit c01cccbddc

@ -1781,6 +1781,13 @@ gnc_book_to_scm (const QofBook *book)
return gnc_generic_to_scm (book, stype);
}
SCM
gnc_split_to_scm (const Split *split)
{
static auto stype = get_swig_type ("_p_Split");
return gnc_generic_to_scm (split, stype);
}
GncAccountValue * gnc_scm_to_account_value_ptr (SCM valuearg)
{
GncAccountValue *res;

@ -66,6 +66,8 @@ SCM gnc_commodity_to_scm(const gnc_commodity* commodity);
SCM gnc_book_to_scm(const QofBook* book);
SCM gnc_split_to_scm (const Split *split);
/* Conversion routines used with tax tables */
GncAccountValue* gnc_scm_to_account_value_ptr(SCM valuearg);

Loading…
Cancel
Save