[OTR-users] OTR Perl Module
Patrick Tierney
ptierney at ucla.edu
Thu Jun 18 18:18:52 EDT 2009
Hello,
I am writing a Perl module for OTR, and I've run into an unfortunate
error: both Perl 5 and OTR declare structs called "context", and this
results in an obvious redefinition error when compiling. I am writing
the module using Inline / XS, and including perl's EXTERN.h, perl.h,
XSUB.h, and INLINE.h, along with libotr/proto.h, etc.
I would appreciate any suggestions on how to get around this, though I
would also purpose changing the struct name to "otr_context" or such
in future releases of the OTR library.
Thanks,
Patrick
More information about the OTR-users
mailing list