Add RM_ModuleTypeReplaceValue.
This is a light-weight replace function, useful for use cases such as realloc()ing an existing value, etc. Using RM_ModuleTypeSetValue() in such cases is wasteful and complex as it attempts to delete the old value, call its destructor, etc.
Showing
想要评论请 注册 或 登录