feat: modules moved and engine moved to submodule
This commit is contained in:
parent
dfb5e645cd
commit
c33d2130cc
5136 changed files with 225275 additions and 64485 deletions
|
|
@ -28,8 +28,7 @@
|
|||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/**************************************************************************/
|
||||
|
||||
#ifndef CALLABLE_METHOD_POINTER_H
|
||||
#define CALLABLE_METHOD_POINTER_H
|
||||
#pragma once
|
||||
|
||||
#include "core/object/object.h"
|
||||
#include "core/variant/binder_common.h"
|
||||
|
|
@ -82,8 +81,7 @@ class CallableCustomMethodPointer : public CallableCustomMethodPointerBase {
|
|||
struct Data {
|
||||
T *instance;
|
||||
uint64_t object_id;
|
||||
R(T::*method)
|
||||
(P...);
|
||||
R (T::*method)(P...);
|
||||
} data;
|
||||
|
||||
public:
|
||||
|
|
@ -152,8 +150,7 @@ class CallableCustomMethodPointerC : public CallableCustomMethodPointerBase {
|
|||
struct Data {
|
||||
T *instance;
|
||||
uint64_t object_id;
|
||||
R(T::*method)
|
||||
(P...) const;
|
||||
R (T::*method)(P...) const;
|
||||
} data;
|
||||
|
||||
public:
|
||||
|
|
@ -226,8 +223,7 @@ Callable create_custom_callable_function_pointer(T *p_instance,
|
|||
template <typename R, typename... P>
|
||||
class CallableCustomStaticMethodPointer : public CallableCustomMethodPointerBase {
|
||||
struct Data {
|
||||
R(*method)
|
||||
(P...);
|
||||
R (*method)(P...);
|
||||
} data;
|
||||
|
||||
public:
|
||||
|
|
@ -292,5 +288,3 @@ Callable create_custom_callable_static_function_pointer(
|
|||
#else
|
||||
#define callable_mp_static(M) create_custom_callable_static_function_pointer(M)
|
||||
#endif
|
||||
|
||||
#endif // CALLABLE_METHOD_POINTER_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue