Chris Shoemaker wrote: > However, the wrapper for gncOwnerGetType() returns the enum value > immediately, not a thunk. E.g. "(gncOwnerGetType employee)" evaluates > to 1. > > This means that the return value of the wrapper for the function that > returns an enum value is not comparable to the enum values.
Doesn't this work? -- (= (GNC-OWNER-EMPLOYEE) (gncOwnerGetType employee)) _______________________________________________ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel