Problem with SetDefaultNamespace in asIScriptModule
gamedev.net
Hello. There seems to be issues with the asScriptModule::SetDefaultNamespace method. The problem is that this method does not register the base namespace. For example:moduleSetDefaultNamespace("Namespace1::Namespace2")In this example, the namespace "Namespace1::Namespace2" will be registered, but the namespace "Namespace1" will not be registered if it does not currently exist. Maybe need to add the following piece of code to asCScriptModule::SetDefaultNamespace?<
0 Commentarii ·0 Distribuiri ·70 Views