Roman Yakovenko wrote:
> On Mon, Dec 8, 2008 at 6:42 PM, Stefan Seefeld <[EMAIL PROTECTED]> wrote:
>
>> Hans Meine wrote:
>>
>>> How about adding an id() method (returning this) to the C++ class and
>>> exporting that?
>>>
>>>
>> Well, this 'id' isn't really a property of the wrapped
Ralf W. Grosse-Kunstleve wrote:
>> In SWIG it is possible to simply define an extra class method that takes a
>> PyObject* and perform any conversion you want in that method (although
>> this means having to add that extra method for all cases where the
>> non-const pointer is used). Would somethin
Indeed (I had forgotten this already...):
r36256 | rwgk | 2006-12-03 12:43:48 -0800 (Sun, 03 Dec 2006) | 2 lines
fixes to support pickling of enums (by Shashank Bapat)
---
On Monday 08 December 2008 20:02:41 Roman Yakovenko wrote:
> 2008/12/8 Matthew Scouten (TT) <[EMAIL PROTECTED]>:
> > From the lack of response I assume that no one has any clever ideas to
> > make an enum pickleable. Thank you to anyone who put thought into this.
> >
> :-).
>
> I thought about wor