[C++-sig] Re: playing with pygame
by Brett Calcott other posts by this author
Jun 7 2003 4:03AM messages near this date
[C++-sig] Re: playing with pygame
|
[C++-sig] Re: playing with pygame
>
> Wow, for some reason I couldn't see a generic solution and didn't
> think of doing it that way. That's totally cool! Maybe I should
> change the implementation in the library to allow non-const
> PyTypeObjects. It's more flexible, after all.
>
Yup - that makes sense. The only caveat is the requirement (at least with
VC6) to put a variable name in now:
> > lvalue_from_nonconst_pytype<extract_identity<PyRectObject> >
> > need_this_or_msvc_barfs(&PyRect_Type);
Cheers,
Brett
_______________________________________________
C++-sig mailing list
C++-sig@[...].org
http://mail.python.org/mailman/listinfo/c++-sig
Thread:
Brett Calcott
David Abrahams
Brett Calcott
Brett Calcott
David Abrahams
David Abrahams
|