1
0
Fork 0
LithOS3/lithos_c/inc/Lth_types.h

38 lines
890 B
C

//-----------------------------------------------------------------------------
//
// Copyright © 2016 Project Golan
//
// See "LICENSE" for more information.
//
//-----------------------------------------------------------------------------
//
// Basic type handling.
//
//-----------------------------------------------------------------------------
#ifndef lithos3__Lth_types_h
#define lithos3__Lth_types_h
#define Lth_Inherits(name) [[__anonymous]] name _super
#define Lth_Mixin(name) [[__anonymous]] name _##name
//----------------------------------------------------------------------------|
// Type Definitions |
//
typedef int Lth_HID;
//
// Lth_Signal
//
typedef enum Lth_Signal
{
#define Lth_X(sig, name, ret, ...) \
Lth_##sig,
#include "Lth_callback.h"
Lth_SIGMAX
} Lth_Signal;
#endif//lithos3__Lth_types_h