This file contains hidden or 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
#include "generic_list.h" | |
#include <string.h> | |
#define UNUSED(X) (void)X | |
// supply your own | |
typedef struct iNode | |
{ | |
size_t index; | |
struct iNode *next; |
This file contains hidden or 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
/* FCFS Example Program by Amritpal Singh is marked with CC0 1.0 Universal. | |
* To view a copy of this license, visit | |
* https://creativecommons.org/publicdomain/zero/1.0/ | |
* Copy of Program at: | |
* https://gist.github.com/icebarf/8815aaed5bcca117518369c6428d7cb3/#file-fcfs_impl_from_class-cpp | |
*/ | |
#include <cstdint> | |
#include <cstdio> |