mirror of
https://git.planet-casio.com/Lephenixnoir/gint.git
synced 2024-12-29 13:03: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
|
#ifndef GINT_DEFS_CALL
|
||||||
#define GINT_DEFS_CALL
|
#define GINT_DEFS_CALL
|
||||||
|
|
||||||
|
#include <stdbool.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
@ -38,6 +40,7 @@ typedef union {
|
||||||
type volatile const *name ## _cv;
|
type volatile const *name ## _cv;
|
||||||
|
|
||||||
POINTER(void, pv)
|
POINTER(void, pv)
|
||||||
|
POINTER(bool, pb)
|
||||||
POINTER(char, pc)
|
POINTER(char, pc)
|
||||||
POINTER(unsigned char, puc)
|
POINTER(unsigned char, puc)
|
||||||
POINTER(short, ps)
|
POINTER(short, ps)
|
||||||
|
|
Loading…
Reference in a new issue