How can I register const method of class ?
class A
{
float Do( ) const;
};
RegisterObjectMethod( "A", "float Do() const", asMETHODPR( A, Do, (void), float ), asCALL_THISCALL );
how to register Do() method ?
the compiler always tell me that error C2440: 'type cast' : cannot convert
Thanks !
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement