From 1c53b01e863129b11b64577ddea29eec11c7392e Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Tue, 5 Nov 2024 21:26:21 +0100 Subject: META: Update copyright holder. IMP: Add Macros.h to SCIKit for types and macros. IMP: Include Macros.h to Foundation.h. Signed-off-by: Amlal El Mahrouss --- dev/SCIKit/Foundation.h | 44 ++++---------------------------------------- 1 file changed, 4 insertions(+), 40 deletions(-) (limited to 'dev/SCIKit/Foundation.h') diff --git a/dev/SCIKit/Foundation.h b/dev/SCIKit/Foundation.h index 134e34dd..aeef7928 100644 --- a/dev/SCIKit/Foundation.h +++ b/dev/SCIKit/Foundation.h @@ -1,55 +1,19 @@ /* ------------------------------------------- -Copyright Amlal EL Mahrouss. +Copyright (C) 2024, EL Mahrouss Logic, all rights reserved. -File: sci_base.h -Purpose: SCI core header file (C++ only). +File: Foundation.h +Purpose: SCIKit Foundation header. ------------------------------------------- */ #ifndef SCIKIT_FOUNDATION_H #define SCIKIT_FOUNDATION_H -#define ATTRIBUTE(X) __attribute__((X)) -#define IMPORT_CXX extern "C++" -#define IMPORT_C extern "C" - -typedef bool Bool; -typedef void Void; - -typedef __UINT64_TYPE__ UInt64; -typedef __UINT32_TYPE__ UInt32; -typedef __UINT16_TYPE__ UInt16; -typedef __UINT8_TYPE__ UInt8; - -typedef __SIZE_TYPE__ SizeT; - -typedef __INT64_TYPE__ SInt64; -typedef __INT32_TYPE__ SInt32; -typedef __INT16_TYPE__ SInt16; -typedef __INT8_TYPE__ SInt8; - -typedef void* VoidPtr; -typedef __UINTPTR_TYPE__ UIntPtr; -typedef char Char; - +#include #include #include -// ------------------------------------------------------------------------------------------ // -/// @brief Handle Type Definitions. -// ------------------------------------------------------------------------------------------ // - -typedef VoidPtr SCIObject; - -typedef SCIObject DLLObject; -typedef SCIObject IOObject; -typedef SCIObject SCMObject; -typedef SCIObject ThreadObject; -typedef SCIObject SocketObject; -typedef SCIObject ShellObject; -typedef SCIObject UIObject; - // ------------------------------------------------------------------------------------------ // /// @brief Dynamic Loader API. // ------------------------------------------------------------------------------------------ // -- cgit v1.2.3