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 RESULT_H_ | |
#define RESULT_H_ | |
// Includes | |
#include <stdbool.h> | |
#include <stdint.h> | |
// Macros | |
#define RESULT_TEMPLATE(name, typeOk, typeErr) \ | |
typedef struct name { \ |
OlderNewer