mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-20 00:46:30 +08:00
14 lines
239 B
C
14 lines
239 B
C
#ifndef __EXCEPTIONS_H
|
|
#define __EXCEPTIONS_H
|
|
|
|
enum {
|
|
EID_NOMEM = 0
|
|
};
|
|
|
|
void *exception_push(void);
|
|
void exception_pop(void);
|
|
int exception_getid(void);
|
|
void exception_raise(int id) __attribute__((noreturn));
|
|
|
|
#endif /* __EXCEPTIONS_H */
|