context 2.1.0

Cooperative multitasking for Rust using Boost.Context
Documentation
1
2
3
4
5
6
7
8
9
10


#include <stdio.h>

typedef void(*Fn)();
void just_call(Fn f) {
    printf("I am going to call!\n");
    f();
    printf("Finished!\n");
}