38 lines
890 B
C
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
|