
24 Jan
2025
24 Jan
'25
11:35 a.m.
On 1/24/25 10:10 AM, Jerome Forissier wrote:
+#define INITCALL(_call) \
- do { \
if (_call()) { \
printf("%s(): initcall %s() failed\n", __func__, \
#_call); \
hang(); \
} \
- } while (0)
Can this be turned into some static inline function too , so typechecking would be retained ? Maybe the function can be passed in a function pointer to call ?