Added rlib
Some checks failed
SORM build / build (push) Failing after 24s
SORM tests / Compile (push) Successful in 7s

This commit is contained in:
retoor 2024-11-28 23:28:33 +01:00
parent 54e524995f
commit 68600e9b0f
6 changed files with 8456 additions and 4 deletions

View File

@ -1,5 +1,9 @@
# SORM
## Todo
- auto complete table / view names.
## Description
SORM stands for SQL ORM. I made this because I have a love/hate relationship with both. I combined them together to have the best of both worlds!

8448
rlib.h Normal file

File diff suppressed because it is too large Load Diff

BIN
sorm

Binary file not shown.

4
sorm.h
View File

@ -2,7 +2,7 @@
#define SORM_H
#include "str.h"
#include <ctype.h>
#include <rlib.h>
#include "rlib.h"
#include <sqlite3.h>
#include <stdarg.h>
#include <stdbool.h>
@ -550,4 +550,4 @@ void sormfmtd(char *csv) {
free(formatted);
}
#endif
#endif

BIN
sorm.so

Binary file not shown.

4
str.h
View File

@ -1,6 +1,6 @@
#ifndef SORM_STR_H
#define SORM_STR_H
#include <rlib.h>
#include "rlib.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@ -47,4 +47,4 @@ char *sormstrc(sormstr_t *str) {
return content;
}
#endif
#endif