ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> cpp-sig
cpp-sig
[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

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved