summaryrefslogtreecommitdiffhomepage
path: root/dev/sci/sci_lpc.h
diff options
context:
space:
mode:
authorAmlal <amlal.elmahrouss@icloud.com>2024-10-26 07:59:10 +0200
committerAmlal <amlal.elmahrouss@icloud.com>2024-10-26 07:59:10 +0200
commit05f085c9055fa5bd13bdba40fc40fb3f00d69fab (patch)
treeeccb2acb77b05c0e8ca073a3cea845acc0a35eec /dev/sci/sci_lpc.h
parent0d0829659be019b3695795e1604d36591a3c3785 (diff)
IMP: Fixes and improvements.
Signed-off-by: Amlal <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'dev/sci/sci_lpc.h')
-rw-r--r--dev/sci/sci_lpc.h48
1 files changed, 0 insertions, 48 deletions
diff --git a/dev/sci/sci_lpc.h b/dev/sci/sci_lpc.h
deleted file mode 100644
index c634b790..00000000
--- a/dev/sci/sci_lpc.h
+++ /dev/null
@@ -1,48 +0,0 @@
-/* -------------------------------------------
-
- Copyright ZKA Web Services Co.
-
-------------------------------------------- */
-
-#pragma once
-
-#define ErrLocalIsOk() (kLastError == kErrorSuccess)
-#define ErrLocalFailed() (kLastError != kErrorSuccess)
-#define ErrLocal() (kLastError)
-
-typedef SInt32 ErrObject;
-
-inline constexpr ErrObject kErrorSuccess = 0;
-inline constexpr ErrObject kErrorExecutable = 33;
-inline constexpr ErrObject kErrorExecutableLib = 34;
-inline constexpr ErrObject kErrorFileNotFound = 35;
-inline constexpr ErrObject kErrorDirectoryNotFound = 36;
-inline constexpr ErrObject kErrorDiskReadOnly = 37;
-inline constexpr ErrObject kErrorDiskIsFull = 38;
-inline constexpr ErrObject kErrorProcessFault = 39;
-inline constexpr ErrObject kErrorSocketHangUp = 40;
-inline constexpr ErrObject kErrorThreadLocalStorage = 41;
-inline constexpr ErrObject kErrorMath = 42;
-inline constexpr ErrObject kErrorNoNetwork = 43;
-inline constexpr ErrObject kErrorHeapOutOfMemory = 44;
-inline constexpr ErrObject kErrorNoSuchDisk = 45;
-inline constexpr ErrObject kErrorFileExists = 46;
-inline constexpr ErrObject kErrorFormatFailed = 47;
-inline constexpr ErrObject kErrorNetworkTimeout = 48;
-inline constexpr ErrObject kErrorInternal = 49;
-inline constexpr ErrObject kErrorForkAlreadyExists = 50;
-inline constexpr ErrObject kErrorOutOfTeamSlot = 51;
-inline constexpr ErrObject kErrorHeapNotPresent = 52;
-inline constexpr ErrObject kErrorNoEntrypoint = 53;
-inline constexpr ErrObject kErrorDiskIsCorrupted = 54;
-inline constexpr ErrObject kErrorDisk = 55;
-inline constexpr ErrObject kErrorInvalidData = 56;
-inline constexpr ErrObject kErrorAsync = 57;
-inline constexpr ErrObject kErrorNonBlocking = 58;
-inline constexpr ErrObject kErrorIPC = 59;
-inline constexpr ErrObject kErrorSign = 60;
-inline constexpr ErrObject kErrorInvalidCreds = 61;
-inline constexpr ErrObject kErrorUnimplemented = 0;
-
-/// @brief The last error reported by the system to the process.
-IMPORT_C ErrObject kLastError;