51 lines
903 B
C
51 lines
903 B
C
#ifndef _INCL_OS2TYPES_H_
|
|
#define _INCL_OS2TYPES_H_
|
|
|
|
#include <stdint.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#ifndef APIENTRY
|
|
#define APIENTRY
|
|
#endif
|
|
|
|
#ifndef OS2EXPORT
|
|
#define OS2EXPORT __attribute__((visibility("default")))
|
|
#endif
|
|
|
|
#ifndef OS2API
|
|
#define OS2API APIENTRY OS2EXPORT
|
|
#endif
|
|
|
|
typedef uint32_t APIRET;
|
|
typedef uint16_t APIRET16;
|
|
typedef uint32_t APIRET32;
|
|
|
|
typedef void VOID;
|
|
typedef VOID *PVOID;
|
|
typedef PVOID *PPVOID;
|
|
typedef char CHAR, *PCHAR;
|
|
typedef uint8_t UCHAR, *PUCHAR;
|
|
typedef int16_t SHORT, *PSHORT;
|
|
typedef uint16_t USHORT, *PUSHORT;
|
|
typedef int32_t LONG, *PLONG;
|
|
typedef uint32_t ULONG, *PULONG;
|
|
typedef uint32_t BOOL32, *PBOOL32;
|
|
typedef uint32_t HANDLE, *PHANDLE;
|
|
typedef HANDLE HMODULE, *PHMODULE;
|
|
typedef HANDLE HFILE, *PHFILE;
|
|
typedef HANDLE HEV, *PHEV;
|
|
typedef HANDLE HMTX, *PHMTX;
|
|
typedef PCHAR PSZ;
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|
|
|
|
// end of os2types.h ...
|
|
|