You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Calling InitData on a local remembers the user-defined default data for local and sets the data to that value. We need a similar InitDefaultData that can set the default-default value of the type as the value. For instance, 0 for numerics and '' for strings.
It should do something like this
TypeRef t = outputType; while (t->HasCustomDefault()) { t = t->BaseType(); } t->InitData(outputData);
The text was updated successfully, but these errors were encountered:
Calling InitData on a local remembers the user-defined default data for local and sets the data to that value. We need a similar InitDefaultData that can set the default-default value of the type as the value. For instance, 0 for numerics and '' for strings.
It should do something like this
TypeRef t = outputType; while (t->HasCustomDefault()) { t = t->BaseType(); } t->InitData(outputData);
The text was updated successfully, but these errors were encountered: