This commit is contained in:
2026-06-25 19:14:14 -05:00
parent c3dc1beb91
commit b38fa70af9
5 changed files with 18 additions and 7 deletions
+4 -3
View File
@@ -1,4 +1,4 @@
# ci2
# ci2_base
## Description
Inspired by all in the acknowledgments, this is my own personal C codebase.
@@ -16,15 +16,16 @@ Inspired by all in the acknowledgments, this is my own personal C codebase.
## Features
## Todos
- [ ] Makefile
## Usage
```bash
# Example installation
git clone https://myrepos.dev/Randy-Jordan/ci2.git
git clone https://myrepos.dev/Randy-Jordan/ci2_base.git
# Navigate into the directory
cd ci2
cd ci2_base
# Build the project
make
+3 -1
View File
@@ -1,4 +1,4 @@
/* - | Copyright | ------------------------------------------------------------
/* - | Copyright / About | ----------------------------------------------------
Copyright (c) 2026 Randy Jordan
Permission is hereby granted, free of charge, to any person obtaining a copy of
@@ -19,6 +19,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
ci2_platform is the main api for all services the platform will provide.
* --------------------------------------------------------------------------*/
#ifndef CI2_PLATFORM_H
#define CI2_PLATFORM_H
+5 -1
View File
@@ -1,4 +1,4 @@
/* - | Copyright | ------------------------------------------------------------
/* - | Copyright / About | ----------------------------------------------------
Copyright (c) 2026 Randy Jordan
Permission is hereby granted, free of charge, to any person obtaining a copy of
@@ -19,6 +19,10 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Try/Catch implementation written in C. Macro magic, and not an ideal error
handling mechanism, but good enough for simple things, and start or fail type
things.
* --------------------------------------------------------------------------*/
#ifndef CI2_EXCEPTION_H
#define CI2_EXCEPTION_H
+3 -1
View File
@@ -1,4 +1,4 @@
/* - | Copyright | ------------------------------------------------------------
/* - | Copyright / About | ----------------------------------------------------
Copyright (c) 2026 Randy Jordan
Permission is hereby granted, free of charge, to any person obtaining a copy of
@@ -19,6 +19,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
ci2_exception linux implementation.
* --------------------------------------------------------------------------*/
#include "../include/platform/error/ci2_exception.h"
+3 -1
View File
@@ -1,4 +1,4 @@
/* - | Copyright | ------------------------------------------------------------
/* - | Copyright / About | ----------------------------------------------------
Copyright (c) 2026 Randy Jordan
Permission is hereby granted, free of charge, to any person obtaining a copy of
@@ -19,6 +19,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
ci2_exception win32 implementation.
* --------------------------------------------------------------------------*/
#include "../include/platform/error/ci2_exception.h"