summaryrefslogtreecommitdiffhomepage
path: root/dev/SCIKit
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-11-05 21:26:21 +0100
committerAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-11-05 21:26:21 +0100
commit1c53b01e863129b11b64577ddea29eec11c7392e (patch)
treed0f70a5e293bff0b531f6326423373748a45f911 /dev/SCIKit
parent907bcb5db72f343449f166b018617d5377a3dae1 (diff)
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 <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'dev/SCIKit')
-rw-r--r--dev/SCIKit/CompilerHint.h2
-rw-r--r--dev/SCIKit/Foundation.h44
-rw-r--r--dev/SCIKit/LPC.h2
-rw-r--r--dev/SCIKit/Macros.h38
-rw-r--r--dev/SCIKit/src/DispatchSysCalls.asm2
-rw-r--r--dev/SCIKit/src/Foundation.cc2
6 files changed, 46 insertions, 44 deletions
diff --git a/dev/SCIKit/CompilerHint.h b/dev/SCIKit/CompilerHint.h
index 66b28e99..1026dfc0 100644
--- a/dev/SCIKit/CompilerHint.h
+++ b/dev/SCIKit/CompilerHint.h
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright Amlal EL Mahrouss.
+ Copyright (C) 2024, EL Mahrouss Logic, all rights reserved.
------------------------------------------- */
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,56 +1,20 @@
/* -------------------------------------------
-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 <SCIKit/Macros.h>
#include <SCIKit/CompilerHint.h>
#include <SCIKit/LPC.h>
// ------------------------------------------------------------------------------------------ //
-/// @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.
// ------------------------------------------------------------------------------------------ //
diff --git a/dev/SCIKit/LPC.h b/dev/SCIKit/LPC.h
index d3477d88..c81554d4 100644
--- a/dev/SCIKit/LPC.h
+++ b/dev/SCIKit/LPC.h
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright Amlal EL Mahrouss.
+ Copyright (C) 2024, EL Mahrouss Logic, all rights reserved.
------------------------------------------- */
diff --git a/dev/SCIKit/Macros.h b/dev/SCIKit/Macros.h
new file mode 100644
index 00000000..66263f34
--- /dev/null
+++ b/dev/SCIKit/Macros.h
@@ -0,0 +1,38 @@
+#pragma once
+
+// ------------------------------------------------------------------------------------------ //
+/// @brief Handle Type and Macros definitions.
+// ------------------------------------------------------------------------------------------ //
+
+#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;
+
+typedef VoidPtr SCIObject;
+
+typedef SCIObject DLLObject;
+typedef SCIObject IOObject;
+typedef SCIObject SCMObject;
+typedef SCIObject ThreadObject;
+typedef SCIObject SocketObject;
+typedef SCIObject ShellObject;
+typedef SCIObject UIObject;
diff --git a/dev/SCIKit/src/DispatchSysCalls.asm b/dev/SCIKit/src/DispatchSysCalls.asm
index bc40f410..337e9533 100644
--- a/dev/SCIKit/src/DispatchSysCalls.asm
+++ b/dev/SCIKit/src/DispatchSysCalls.asm
@@ -2,7 +2,7 @@
;; * ========================================================
;; *
;; * ZKA
-;; * Copyright Amlal EL Mahrouss., all rights reserved.
+;; * Copyright (C) 2024, EL Mahrouss Logic, all rights reserved., all rights reserved.
;; *
;; * ========================================================
;; */
diff --git a/dev/SCIKit/src/Foundation.cc b/dev/SCIKit/src/Foundation.cc
index 3d9f4734..e58a61ce 100644
--- a/dev/SCIKit/src/Foundation.cc
+++ b/dev/SCIKit/src/Foundation.cc
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright Amlal EL Mahrouss.
+ Copyright (C) 2024, EL Mahrouss Logic, all rights reserved.
------------------------------------------- */