Changed Python _getattr/_setattr methods to use const STR_String& instead of char* - makes using these methods much nicer.
This commit is contained in:
@@ -274,7 +274,7 @@ void SCA_PythonController::Trigger(SCA_LogicManager* logicmgr)
|
||||
|
||||
|
||||
|
||||
PyObject* SCA_PythonController::_getattr(char* attr)
|
||||
PyObject* SCA_PythonController::_getattr(const STR_String& attr)
|
||||
{
|
||||
_getattr_up(SCA_IController);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user