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
No known key found for this signature in database
GPG key ID: 1BBA026E13FC0495

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;