summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKEKW555 <152369890+KEKW555@users.noreply.github.com>2024-01-07 00:01:13 +0530
committerGitHub <noreply@github.com>2024-01-07 00:01:13 +0530
commitd7c02737e9d287a40f559b05b3c187b44c4b7624 (patch)
treeafce7befee19d3ea1459dedf40267dcdd222310b
parent973257b758554bacf71147894186261313841711 (diff)
Move function casts to typedef
-rw-r--r--include/global.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/global.h b/include/global.h
index f5621806..f62b250d 100644
--- a/include/global.h
+++ b/include/global.h
@@ -163,4 +163,10 @@ struct Entity_;
#define BIT(bit) (1 << (bit))
#define IS_BIT_SET(value, bit) ((value)&BIT(bit))
+/**
+ * Multi return function data type casts
+ */
+typedef u64 (*MultiReturnTypeSingleEntityArg)(struct Entity_*);
+typedef s64 (*MultiReturnTypeTwoS32Arg)(s32, s32);
+
#endif // GLOBAL_H