timer: allow integer pointers in callback arguments

This commit is contained in:
Lephe 2020-07-02 08:51:59 +02:00
parent dc83d5ee1f
commit f8ee9b7414
Signed by untrusted user: Lephenixnoir
GPG Key ID: 1BBA026E13FC0495
1 changed files with 5 additions and 0 deletions

View File

@ -94,6 +94,11 @@ typedef union
int (*pVv) (volatile void *);
int (*pCv) (const void *);
int (*pCVv)(volatile const void *);
/* Integer pointer argument, cv-qualified as needed */
int (*pi) (int *);
int (*pVi) (volatile int *);
int (*pCi) (const int *);
int (*pCVi)(volatile const int *);
} GTRANSPARENT timer_callback_t;