Changes that were in hiding.

This commit is contained in:
Davy Hélard
2023-07-04 16:29:36 +02:00
parent e60545c146
commit d0dd8b8a18
2 changed files with 2 additions and 1 deletions

View File

@@ -19,6 +19,7 @@ gd::String BehaviorCodeGenerator::GenerateRuntimeBehaviorCompleteCode(
const std::map<gd::String, gd::String>& behaviorMethodMangledNames,
std::set<gd::String>& includeFiles,
bool compilationForRuntime) {
std::cout << "GenerateRuntimeBehaviorCompleteCode" << std::endl;
auto& eventsFunctionsVector =
eventsBasedBehavior.GetEventsFunctions().GetInternalVector();

View File

@@ -1224,7 +1224,7 @@ void MetadataDeclarationHelper::AddParameter(
// with the extension namespace (this was done to ease extension
// declarations when dealing with object).
.SetParameterExtraInfo(parameter.GetExtraInfo())
.SetParameterObjectType(parameter.GetObjectType());
.SetParameterObjectType(parameter.GetValueTypeMetadata().GetObjectType());
instructionOrExpression.SetParameterLongDescription(
parameter.GetLongDescription());
instructionOrExpression.SetDefaultValue(parameter.GetDefaultValue());