mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Fix bug 573645: SWIG binding for GncTaxTableGetEntries is wrong.
Patch by Chris Dennis git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18056 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
f07425f1b0
commit
8221aada49
@ -73,6 +73,7 @@ static GncEmployee * gncEmployeeLookupFlip(GUID g, QofBook *b)
|
|||||||
%}
|
%}
|
||||||
|
|
||||||
GLIST_HELPER_INOUT(EntryList, SWIGTYPE_p__gncEntry);
|
GLIST_HELPER_INOUT(EntryList, SWIGTYPE_p__gncEntry);
|
||||||
|
GLIST_HELPER_INOUT(GncTaxTableEntryList, SWIGTYPE_p__gncTaxTableEntry);
|
||||||
|
|
||||||
%typemap(in) GncAccountValue * "$1 = gnc_scm_to_account_value_ptr($input);"
|
%typemap(in) GncAccountValue * "$1 = gnc_scm_to_account_value_ptr($input);"
|
||||||
%typemap(out) GncAccountValue * "$result = gnc_account_value_ptr_to_scm($1);"
|
%typemap(out) GncAccountValue * "$result = gnc_account_value_ptr_to_scm($1);"
|
||||||
|
@ -36,7 +36,7 @@ struct _gncTaxTable
|
|||||||
{
|
{
|
||||||
QofInstance inst;
|
QofInstance inst;
|
||||||
char * name;
|
char * name;
|
||||||
GList * entries;
|
GncTaxTableEntryList* entries;
|
||||||
Timespec modtime; /* internal date of last modtime */
|
Timespec modtime; /* internal date of last modtime */
|
||||||
|
|
||||||
/* See src/doc/business.txt for an explanation of the following */
|
/* See src/doc/business.txt for an explanation of the following */
|
||||||
@ -633,7 +633,7 @@ GncTaxTable *gncTaxTableGetParent (const GncTaxTable *table)
|
|||||||
return table->parent;
|
return table->parent;
|
||||||
}
|
}
|
||||||
|
|
||||||
GList *gncTaxTableGetEntries (const GncTaxTable *table)
|
GncTaxTableEntryList* gncTaxTableGetEntries (const GncTaxTable *table)
|
||||||
{
|
{
|
||||||
if (!table) return NULL;
|
if (!table) return NULL;
|
||||||
return table->entries;
|
return table->entries;
|
||||||
|
@ -40,7 +40,7 @@ is *identical* to that in ::GncBillTerm
|
|||||||
|
|
||||||
@param QofInstance inst;
|
@param QofInstance inst;
|
||||||
@param char * name;
|
@param char * name;
|
||||||
@param GList * entries;
|
@param GncTaxTableEntryList* entries;
|
||||||
@param Timespec modtime;
|
@param Timespec modtime;
|
||||||
@param gint64 refcount;
|
@param gint64 refcount;
|
||||||
@param GncTaxTable * parent; if non-null, we are an immutable child
|
@param GncTaxTable * parent; if non-null, we are an immutable child
|
||||||
@ -153,7 +153,8 @@ const char *gncTaxTableGetName (const GncTaxTable *table);
|
|||||||
GncTaxTable *gncTaxTableGetParent (const GncTaxTable *table);
|
GncTaxTable *gncTaxTableGetParent (const GncTaxTable *table);
|
||||||
GncTaxTable *gncTaxTableReturnChild (GncTaxTable *table, gboolean make_new);
|
GncTaxTable *gncTaxTableReturnChild (GncTaxTable *table, gboolean make_new);
|
||||||
#define gncTaxTableGetChild(t) gncTaxTableReturnChild((t),FALSE)
|
#define gncTaxTableGetChild(t) gncTaxTableReturnChild((t),FALSE)
|
||||||
GList *gncTaxTableGetEntries (const GncTaxTable *table);
|
typedef GList GncTaxTableEntryList;
|
||||||
|
GncTaxTableEntryList* gncTaxTableGetEntries (const GncTaxTable *table);
|
||||||
gint64 gncTaxTableGetRefcount (const GncTaxTable *table);
|
gint64 gncTaxTableGetRefcount (const GncTaxTable *table);
|
||||||
Timespec gncTaxTableLastModified (const GncTaxTable *table);
|
Timespec gncTaxTableLastModified (const GncTaxTable *table);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user