mirror of https://github.com/zeldaret/tmc.git
Move function casts to typedef
This commit is contained in:
parent
973257b758
commit
d7c02737e9
|
@ -163,4 +163,10 @@ struct Entity_;
|
||||||
#define BIT(bit) (1 << (bit))
|
#define BIT(bit) (1 << (bit))
|
||||||
#define IS_BIT_SET(value, bit) ((value)&BIT(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
|
#endif // GLOBAL_H
|
||||||
|
|
Loading…
Reference in New Issue