mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
[swig] %newobject to g_free AccountList* functions
This commit is contained in:
@@ -36,10 +36,18 @@ static const GncGUID * gncAccountGetGUID(Account *x)
|
|||||||
|
|
||||||
%include <Split.h>
|
%include <Split.h>
|
||||||
|
|
||||||
|
%newobject gnc_account_get_children;
|
||||||
AccountList * gnc_account_get_children (const Account *account);
|
AccountList * gnc_account_get_children (const Account *account);
|
||||||
|
|
||||||
|
%newobject gnc_account_get_children_sorted;
|
||||||
AccountList * gnc_account_get_children_sorted (const Account *account);
|
AccountList * gnc_account_get_children_sorted (const Account *account);
|
||||||
|
|
||||||
|
%newobject gnc_account_get_descendants;
|
||||||
AccountList * gnc_account_get_descendants (const Account *account);
|
AccountList * gnc_account_get_descendants (const Account *account);
|
||||||
|
|
||||||
|
%newobject gnc_account_get_descendants_sorted;
|
||||||
AccountList * gnc_account_get_descendants_sorted (const Account *account);
|
AccountList * gnc_account_get_descendants_sorted (const Account *account);
|
||||||
|
|
||||||
%ignore gnc_account_get_children;
|
%ignore gnc_account_get_children;
|
||||||
%ignore gnc_account_get_children_sorted;
|
%ignore gnc_account_get_children_sorted;
|
||||||
%ignore gnc_account_get_descendants;
|
%ignore gnc_account_get_descendants;
|
||||||
|
|||||||
Reference in New Issue
Block a user