mirror of
https://github.com/avinal/xeus-basic.git
synced 2026-01-10 07:08:35 +05:30
19 lines
315 B
C
19 lines
315 B
C
/**
|
|
* SPDX-License-Identifier: MIT
|
|
* SPDX-FileCopyrightText: 2015-2016 Johan Van den Brande
|
|
*
|
|
* @file callback.h
|
|
*/
|
|
|
|
#ifndef BASIC_CALLBACK_H_
|
|
#define BASIC_CALLBACK_H_
|
|
|
|
#include <stdbool.h>
|
|
|
|
typedef struct error {
|
|
int error;
|
|
};
|
|
|
|
typedef bool (*callback)(error err, void* data);
|
|
|
|
#endif // BASIC_CALLBACK_H_
|