[C++-sig] Typecasting

David Sveningsson ext at sidvind.com
Thu Dec 14 17:51:55 CET 2006

Stefan Seefeld skrev:
> I believe
> this->get_override("notify")(boost::python::ptr(evt));
> should do the trick.
> HTH,
> 		Stefan
Yes it did, now python even recieves the right class. No need for
typecasting or anything. Thanks!


//*David Sveningsson [eXt]*

Freelance coder | Game Development Student

Thou shalt make thy program's purpose and structure clear to thy fellow man by using the One True Brace Style, even if thou likest it not, for thy creativity is better used in solving problems than in creating beautiful new impediments to understanding.

More information about the Cplusplus-sig mailing list