Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* SML/Configuration: Make `FillConfigStruct` non-pure The `UConfigProperty::FillConfigStruct` function is exposed as a pure function by default because it is `const`. However, since it does not return anything, there's no good way to know when it will be executed as pure functions do not have execution pins. Explicitly make this function non-pure so that it has execution pins. Signed-off-by: Angel Pons <[email protected]> * SML/Reflection: Fix NULL check in custom thunks The `execDeflectStruct` and `execReflectStruct` custom thunks would throw a blueprint exception when `StructInfo.Struct` is *not* NULL. This seems to be a mistake, as the log message says that the passed struct was NULL and `CheckStructParameter` only returns NULL if the passed struct parameter is invalid. Flip the NULL checks to make struct reflection and deflection work. Signed-off-by: Angel Pons <[email protected]> --------- Signed-off-by: Angel Pons <[email protected]>
- Loading branch information