News for hackers. Stuff that matters.
Re:F() vs. F(void) in C vs. C++ by kazinator on Monday May 13, 2019 @02:15PM (#19902092)
There are libraries for this like GNU ffcall and libffi.
Re:F() vs. F(void) in C vs. C++ by Gibbon1 on Monday May 13, 2019 @03:01PM (#19902691)
Looked at those. Problem with libffi is it wasn't ported to a 32 bit arm. And the interface is 'clunkie'

I think what I want is llvm's blocks. Which isn't available in gcc.