Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
7 changed files
with
283,844 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#pragma once | ||
|
||
#include <stdint.h> | ||
|
||
#ifndef SQL_DATA_TYPES | ||
#define SQL_STD_DATA_TYPES typedef | ||
|
||
SQL_STD_DATA_TYPES int8_t* SQL_S8; | ||
SQL_STD_DATA_TYPES int16_t* SQL_16; | ||
SQL_STD_DATA_TYPES int32_t* SQL_32; | ||
SQL_STD_DATA_TYPES int64_t* SQL_64; | ||
|
||
#define SQL_UNSIGNED_DATA_TYPES typedef | ||
|
||
SQL_UNSIGNED_DATA_TYPES uint8_t* SQL_U8; | ||
SQL_UNSIGNED_DATA_TYPES uint16_t* SQL_U16; | ||
SQL_UNSIGNED_DATA_TYPES uint32_t* SQL_U32; | ||
SQL_UNSIGNED_DATA_TYPES uint64_t* SQL_U64; | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#pragma once | ||
|
||
#ifndef SERVER | ||
#define SERVER | ||
|
||
#include "sqlite3.h" | ||
|
||
#define DATABASE sqlite3; | ||
#define DATABASE_STATEMENT sqlite3_stmt; | ||
|
||
typedef struct | ||
{ | ||
const char* ERROR{}; | ||
|
||
} DATABASE_LOGIC; | ||
|
||
#endif | ||
|
||
#endif |
Oops, something went wrong.