Skip Menu |

This queue is for tickets about the ExtUtils-XSpp CPAN distribution.

Report information
The Basics
Id: 85344
Status: new
Priority: 0/
Queue: ExtUtils-XSpp

People
Owner: Nobody in particular
Requestors: smueller [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)



Subject: Automatically wrap public data members?
Should XS++ have some facility to (semi-?)automatically wrap public data members? class IamReallyAStruct { public: int foo; double bar; } Resulting in Perl mutator methods "foo" and "bar"? int IamReallyAStruct::foo(...) CODE: if (items > 1) THIS->foo = SvIV(ST(1)); /* This is the hard bit: inserting proper typemap here */ RETVAL = THIS->foo; OUTPUT: RETVAL