Skip to content

Commit a57d30c

Browse files
author
mingqian.gui
committed
update
1 parent a60a5b8 commit a57d30c

File tree

13 files changed

+768
-242
lines changed

13 files changed

+768
-242
lines changed

engine/engine/3rdlibs/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,4 +65,5 @@ mark_as_3rdlib(implot)
6565
mark_as_3rdlib(tinygltf)
6666
mark_as_3rdlib(tomlplusplus_tomlplusplus)
6767
mark_as_3rdlib(qjs)
68-
mark_as_3rdlib(qjsc)
68+
mark_as_3rdlib(qjsc)
69+
mark_as_3rdlib(qjs_exe)

engine/engine/nickel/refl/util/function_traits.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ struct function_traits<Ret (Class::*)(Args...)>
104104
using type = Ret (Class::*)(Args...);
105105
using args_with_class = type_list<Class*, Args...>;
106106
using pointer = Ret (Class::*)(Args...);
107+
using clazz = Class;
107108
static constexpr bool is_member = true;
108109
static constexpr bool is_const = false;
109110
};
@@ -114,6 +115,7 @@ struct function_traits<Ret (Class::*)(Args...) const>
114115
using type = Ret (Class::*)(Args...) const;
115116
using args_with_class = type_list<Class*, Args...>;
116117
using pointer = Ret (Class::*)(Args...) const;
118+
using clazz = Class;
117119
static constexpr bool is_member = true;
118120
static constexpr bool is_const = true;
119121
};

0 commit comments

Comments
 (0)