include: add public libucontext/libucontext.h header

arm_linker_fix
Ariadne Conill 2020-12-06 03:53:58 -06:00
parent a8415a0c4e
commit 1966a6b349
1 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,11 @@
#ifndef LIBUCONTEXT_LIBUCONTEXT_H
#define LIBUCONTEXT_LIBUCONTEXT_H
#include <libucontext/bits.h>
int libucontext_getcontext(libucontext_ucontext_t *);
void libucontext_makecontext(libucontext_ucontext_t *, void (*)(), int, ...);
int libucontext_setcontext(const libucontext_ucontext_t *);
int libucontext_swapcontext(libucontext_ucontext_t *, const libucontext_ucontext_t *);
#endif