How to configure the extension to recognize and support block-callbacks? #12294
Unanswered
vladfrangu
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm currently writing a small project in C which uses block callbacks (at least that's how I found them to be named).
A similar syntax to what is giving me errors can be found from
qsort_b
:qsort_b(void *base, size_t nel, size_t width, int (^compar)(const void *, const void *));
For some reason the extension doesn't recognize this syntax as valid (which is fair, it doesn't seem to be standard per-say). But
gcc
, the compiler I'm using, does recognize this syntax and works with it. Is there any way to make the extension recognize it too?Beta Was this translation helpful? Give feedback.
All reactions