mirror of
https://git.planet-casio.com/Lephenixnoir/gint.git
synced 2024-12-28 20:43:36 +01:00
defs: allow bool * pointer variants in GINT_CALL
This commit is contained in:
parent
6ebfe8484e
commit
979873288a
1 changed files with 3 additions and 0 deletions
|
@ -11,6 +11,8 @@
|
|||
#ifndef GINT_DEFS_CALL
|
||||
#define GINT_DEFS_CALL
|
||||
|
||||
#include <stdbool.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
@ -38,6 +40,7 @@ typedef union {
|
|||
type volatile const *name ## _cv;
|
||||
|
||||
POINTER(void, pv)
|
||||
POINTER(bool, pb)
|
||||
POINTER(char, pc)
|
||||
POINTER(unsigned char, puc)
|
||||
POINTER(short, ps)
|
||||
|
|
Loading…
Reference in a new issue