|
Bill Nottingham |
a25de07 |
%inline %{
|
|
Bill Nottingham |
a25de07 |
static const GncGUID * gncSplitGetGUID(Split *x)
|
|
Bill Nottingham |
a25de07 |
{ return qof_instance_get_guid(QOF_INSTANCE(x)); }
|
|
Bill Nottingham |
a25de07 |
static const GncGUID * gncTransGetGUID(Transaction *x)
|
|
Bill Nottingham |
a25de07 |
{ return qof_instance_get_guid(QOF_INSTANCE(x)); }
|
|
Bill Nottingham |
a25de07 |
static const GncGUID * gncAccountGetGUID(Account *x)
|
|
Bill Nottingham |
a25de07 |
{ return qof_instance_get_guid(QOF_INSTANCE(x)); }
|
|
Bill Nottingham |
a25de07 |
%}
|
|
Bill Nottingham |
a25de07 |
|
|
Bill Nottingham |
a25de07 |
%typemap(newfree) AccountList * "g_list_free($1);"
|
|
Bill Nottingham |
a25de07 |
%typemap(newfree) SplitList * "g_list_free($1);"
|
|
Bill Nottingham |
a25de07 |
%typemap(newfree) TransList * "g_list_free($1);"
|
|
Bill Nottingham |
a25de07 |
%typemap(newfree) PriceList * "g_list_free($1);"
|
|
Bill Nottingham |
a25de07 |
%typemap(newfree) LotList * "g_list_free($1);"
|
|
Bill Nottingham |
a25de07 |
%typemap(newfree) CommodityList * "g_list_free($1);"
|
|
Bill Nottingham |
a25de07 |
|
|
Bill Nottingham |
a25de07 |
%include <Split.h>
|
|
Bill Nottingham |
a25de07 |
|
|
Bill Nottingham |
a25de07 |
AccountList * gnc_account_get_children (const Account *account);
|
|
Bill Nottingham |
a25de07 |
AccountList * gnc_account_get_children_sorted (const Account *account);
|
|
Bill Nottingham |
a25de07 |
AccountList * gnc_account_get_descendants (const Account *account);
|
|
Bill Nottingham |
a25de07 |
AccountList * gnc_account_get_descendants_sorted (const Account *account);
|
|
Bill Nottingham |
a25de07 |
%ignore gnc_account_get_children;
|
|
Bill Nottingham |
a25de07 |
%ignore gnc_account_get_children_sorted;
|
|
Bill Nottingham |
a25de07 |
%ignore gnc_account_get_descendants;
|
|
Bill Nottingham |
a25de07 |
%ignore gnc_account_get_descendants_sorted;
|
|
Bill Nottingham |
a25de07 |
%include <Account.h>
|
|
Bill Nottingham |
a25de07 |
|
|
Bill Nottingham |
a25de07 |
%include <Transaction.h>
|
|
Bill Nottingham |
a25de07 |
|
|
Bill Nottingham |
a25de07 |
%include <gnc-lot.h>
|