updated tlibc

This commit is contained in:
2025-12-21 20:02:46 +05:00
parent 6260264f04
commit 4b15db7c1f
3 changed files with 3 additions and 2 deletions

View File

@@ -29,6 +29,7 @@ MinGW: `pacman -S mingw-w64-x86_64-sqlite3`
6. To build library use tasks `build_static_lib[_dbg]` or `build_shared_lib[_dbg]` 6. To build library use tasks `build_static_lib[_dbg]` or `build_shared_lib[_dbg]`
7. If you use tsqlite as static library, add `LINKER_LIBS` from tsqlite `project.config` to your project.
## Usage ## Usage
```c ```c

View File

@@ -46,7 +46,7 @@ case "$OS" in
SHARED_LIB_FILE="$PROJECT.dll" SHARED_LIB_FILE="$PROJECT.dll"
INCLUDE="$INCLUDE " INCLUDE="$INCLUDE "
# example: "-lSDL2 -lSDL2_image" # example: "-lSDL2 -lSDL2_image"
LINKER_LIBS="-lsqlite3" LINKER_LIBS="-luuid -lsqlite3"
;; ;;
LINUX) LINUX)
EXEC_FILE="test" EXEC_FILE="test"

View File

@@ -46,7 +46,7 @@ Result(void) test_connection(){
printf("ROW(%i):", st->result_row); printf("ROW(%i):", st->result_row);
for(i32 i = 0; i < column_count; i++){ for(i32 i = 0; i < column_count; i++){
try_void(tsqlite_statement_getResult_str(st, &cell_str)); try_void(tsqlite_statement_getResult_str(st, &cell_str));
printf(" [%i]='"FMT_str"'", st->result_col, str_expand(cell_str)); printf(" [%i]='"FMT_str"'", st->result_col, str_unwrap(cell_str));
} }
printf("\n"); printf("\n");
}; };