mirror of
https://github.com/vczh-libraries/Release.git
synced 2026-05-12 01:46:38 +08:00
Update release
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user