forked from ariadne/libucontext
include: add public libucontext/libucontext.h header
parent
a8415a0c4e
commit
1966a6b349
|
@ -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
|
Loading…
Reference in New Issue