[engine.i] free GSList* arg to qof_book_get_option

This commit is contained in:
Christopher Lam 2021-08-20 00:00:06 +08:00
parent 4cf25cb7be
commit 6c8af6aab1

View File

@ -275,6 +275,7 @@ Account * gnc_book_get_template_root(QofBook *book);
%typemap(in) KvpValue * " $1 = gnc_scm_to_kvp_value_ptr($input); "
%typemap(out) KvpValue * " $result = gnc_kvp_value_ptr_to_scm($1); "
%typemap(in) GSList *key_path " $1 = gnc_scm_to_gslist_string($input);"
%typemap(freearg) GSList * "g_slist_free_full ($1, g_free);"
QofBook* qof_book_new (void);
void qof_book_options_delete (QofBook *book, GSList *key_path);