Fix EngineAPI xml generation, utilizing fixed_tuple for default args

This commit is contained in:
Lukas Joergensen 2018-04-21 09:06:16 +02:00
parent c1e64ff3bd
commit a84145421f
3 changed files with 162 additions and 2 deletions

View file

@ -197,7 +197,7 @@ static String getDefaultArgumentValue( const EngineFunctionInfo* function, const
//TODO: for now we store string literals in ASCII; needs to be sorted out
if( TYPE< const char* >() == type )
{
const char* val = getArgValue< const char* >( defaultArgs, offset );
const char* val = reinterpret_cast< const char* >(defaultArgs->getArgs() + offset);
value = val;
}