This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef ROUTINE_H | |
#define ROUTINE_H | |
#include <stdint.h> | |
// A portable "coroutine"-like thing for implementing FSM and behavior-cycles. | |
// | |
// Original implementation by Noel Berry. | |
// See: https://gist.github.com/NoelFB/7a5fa66fc29dd7ed1c11042c30f1b00e | |
// |