Update release

This commit is contained in:
vczh
2021-10-09 14:02:19 -07:00
parent 5bbf4e4a25
commit 5e2c7917bb
142 changed files with 3542 additions and 1817 deletions
+3 -26
View File
@@ -1013,32 +1013,9 @@ TypeName
WfLoadLibraryTypes
***********************************************************************/
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
#define _ ,
template<>
struct CustomTypeDescriptorSelector<DescriptableObject>
{
public:
class CustomTypeDescriptorImpl : public TypeDescriptorImpl
{
public:
CustomTypeDescriptorImpl()
:TypeDescriptorImpl(TypeDescriptorFlags::Class, &TypeInfo<DescriptableObject>::content)
{
Description<DescriptableObject>::SetAssociatedTypeDescroptor(this);
}
~CustomTypeDescriptorImpl()
{
Description<DescriptableObject>::SetAssociatedTypeDescroptor(0);
}
protected:
void LoadInternal()override
{
}
};
};
#define _ ,
BEGIN_CLASS_MEMBER(Sys)
CLASS_MEMBER_STATIC_METHOD(Int32ToInt, { L"value" })
@@ -1253,7 +1230,7 @@ WfLoadLibraryTypes
bool WfLoadLibraryTypes()
{
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
ITypeManager* manager = GetGlobalTypeManager();
if (manager)
{