defs: allow bool * pointer variants in GINT_CALL

This commit is contained in:
Lephe 2024-08-15 22:17:22 +02:00
parent 6ebfe8484e
commit 979873288a
No known key found for this signature in database
GPG key ID: 1BBA026E13FC0495

View file

@ -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)