Chris Shoemaker <[EMAIL PROTECTED]> writes: > The arguments that point to structs defined in the same module as the > function being wrapped are typed as taking a pointer to the "real" struct, > not the "public" typedef'd name of the struct. If functions in other > modules use the same pointer arguments, and SWIG isn't told about the > typedef to the struct, then these wrappers will be typed with an > incompatible generic pointer type with the public type name. > > This commit resolves this by 1) using SWIG's %import directive to see the > typedef to the struct name, 2) associated -Imodule lines in Makefile.am, > 3) using the mangled form of the real struct name anywhere we need a > runtime type query. Got it?
So basically what you're saying is that with SWIG you can't use the public typedef name? That seems... Wrong. -derek -- Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory Member, MIT Student Information Processing Board (SIPB) URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH [EMAIL PROTECTED] PGP key available _______________________________________________ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel