2022-10-02 16:10:53 +00:00
|
|
|
#ifndef _LUNA_H
|
|
|
|
#define _LUNA_H
|
|
|
|
|
2022-10-04 17:06:56 +00:00
|
|
|
#include <_/macros.h>
|
2022-10-02 16:10:53 +00:00
|
|
|
#include <sys/types.h>
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C"
|
|
|
|
{
|
|
|
|
#endif
|
|
|
|
|
|
|
|
pid_t gettid();
|
|
|
|
unsigned int msleep(unsigned int);
|
|
|
|
noreturn void __luna_abort(const char* message);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#define NOT_IMPLEMENTED(message) __luna_abort("not implemented: " message "\n")
|
|
|
|
|
|
|
|
#endif
|