summaryrefslogtreecommitdiffstats
path: root/core/method_bind.h
diff options
context:
space:
mode:
authorJuan Linietsky <juan@godotengine.org>2020-02-20 15:32:36 -0300
committerJuan Linietsky <reduzio@gmail.com>2020-02-21 13:46:45 +0100
commit04bb6a708a5b68ed199e5caa92d16a50992caf52 (patch)
tree0975beb458ec9c7449cb6a9a39fc7a6c12aa0624 /core/method_bind.h
parenta24aafcb92992f860694bf411acab1080fc0b3db (diff)
downloadredot-engine-04bb6a708a5b68ed199e5caa92d16a50992caf52.tar.gz
Created the callable_mp macro, for signals to call method pointers directly.
Diffstat (limited to 'core/method_bind.h')
-rw-r--r--core/method_bind.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/core/method_bind.h b/core/method_bind.h
index 72be141fd3..726ce512f8 100644
--- a/core/method_bind.h
+++ b/core/method_bind.h
@@ -31,19 +31,18 @@
#ifndef METHOD_BIND_H
#define METHOD_BIND_H
+#ifdef DEBUG_ENABLED
+#define DEBUG_METHODS_ENABLED
+#endif
+
#include "core/list.h"
#include "core/method_ptrcall.h"
#include "core/object.h"
+#include "core/type_info.h"
#include "core/variant.h"
#include <stdio.h>
-#ifdef DEBUG_ENABLED
-#define DEBUG_METHODS_ENABLED
-#endif
-
-#include "core/type_info.h"
-
enum MethodFlags {
METHOD_FLAG_NORMAL = 1,