mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
[base-typemaps.i] add VECTOR_HELPER_INOUT for Split* and Account*
efficiently convert std::vector<Obj> to/from guile list of objects
This commit is contained in:
@@ -73,6 +73,8 @@ GLIST_HELPER_INOUT(AccountList, SWIGTYPE_p_Account);
|
||||
GLIST_HELPER_INOUT(PriceList, SWIGTYPE_p_GNCPrice);
|
||||
// TODO: free PriceList?
|
||||
GLIST_HELPER_INOUT(CommodityList, SWIGTYPE_p_gnc_commodity);
|
||||
VECTOR_HELPER_INOUT(SplitsVec, SWIGTYPE_p_Split, Split);
|
||||
VECTOR_HELPER_INOUT(AccountVec, SWIGTYPE_p_Account, Account);
|
||||
|
||||
%typemap(newfree) char * "g_free($1);"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user