Derek Atkins wrote: > Chris Dennis <cgden...@btinternet.com> writes: > >> I've grep'ed fairly thoroughly through the source, and I can't find >> anything obviously wrong. business-core.i includes gncTaxTable.h, which >> has the line >> >> GList *gncTaxTableGetEntries (const GncTaxTable *table); > > We might need to do something like: > > typedef GList* GncTaxTableEntryList; > > Then change this to return a GncTaxTableEntryList.
I'll give that a go. > And then add a Swig type for GncTaxTableEntryList that defines it > to be a list-of GncTaxTableEntry*. I don't know where that's defined. Can you point me to the file to be changed? > >> Is there anywhere else that defines the SWIG wrapper? > > Probably not.. I bet it's getting confused by the GList*. > >> I'd like to be able to include details of the tax (specifically VAT) >> charged on each line of the invoice, e.g. >> >> Description Qty VATrate UnitPrice VAT Total >> Book 1 0% £20.00 £0.00 £20.00 >> Computer 1 15% £100.00 £15.00 £115.00 > > Wow, umm.... That's extrememly detailed! Are you sure you need > all that information? Yes. That's typical of many invoices in the UK. > >> cheers >> >> Chris > > -derek > cheers Chris -- Chris Dennis cgden...@btinternet.com Fordingbridge, Hampshire, UK _______________________________________________ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel