2
0

exit_.h 423 B

1234567891011121314
  1. #ifndef AFUN_EXIT_H
  2. #define AFUN_EXIT_H
  3. namespace aFuntool {
  4. typedef void aFunExitFunc(void *);
  5. [[noreturn]] AFUN_TOOL_EXPORT void aFunExit(int exit_code);
  6. AFUN_TOOL_EXPORT int aFunTryExitPseudo();
  7. AFUN_TOOL_EXPORT int aFunExitPseudo();
  8. AFUN_TOOL_EXPORT int aFunAtExitTry(aFunExitFunc *func, void *data);
  9. AFUN_TOOL_EXPORT int aFunAtExit(aFunExitFunc *func, void *data);
  10. }
  11. #endif //AFUN_EXIT_H