You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
stackalloc-rs/alloca_trampoline_.c

9 lines
211 B

#include <stddef.h>
void _alloca_trampoline(size_t num, void (*callback)(void* restrict ptr, void* data), void* data)
{
unsigned char ptr[num];
callback(ptr, data);
} // C99 mandates empty line at EOF