add void function typedef
This commit is contained in:
parent
eba67d69ca
commit
15897d0eab
@ -41,6 +41,7 @@ typedef volatile s64 vs64; ///< 64-bit volatile signed integer.
|
|||||||
typedef u32 Handle; ///< Resource handle.
|
typedef u32 Handle; ///< Resource handle.
|
||||||
typedef s32 Result; ///< Function result.
|
typedef s32 Result; ///< Function result.
|
||||||
typedef void (*ThreadFunc)(void *); ///< Thread entrypoint function.
|
typedef void (*ThreadFunc)(void *); ///< Thread entrypoint function.
|
||||||
|
typedef void (*voidfn)(void);
|
||||||
|
|
||||||
/// Creates a bitmask from a bit number.
|
/// Creates a bitmask from a bit number.
|
||||||
#define BIT(n) (1U<<(n))
|
#define BIT(n) (1U<<(n))
|
||||||
|
Loading…
Reference in New Issue
Block a user