updated tlibc
This commit is contained in:
@@ -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]`
|
||||
|
||||
7. If you use tsqlite as static library, add `LINKER_LIBS` from tsqlite `project.config` to your project.
|
||||
|
||||
## Usage
|
||||
```c
|
||||
|
||||
@@ -46,7 +46,7 @@ case "$OS" in
|
||||
SHARED_LIB_FILE="$PROJECT.dll"
|
||||
INCLUDE="$INCLUDE "
|
||||
# example: "-lSDL2 -lSDL2_image"
|
||||
LINKER_LIBS="-lsqlite3"
|
||||
LINKER_LIBS="-luuid -lsqlite3"
|
||||
;;
|
||||
LINUX)
|
||||
EXEC_FILE="test"
|
||||
|
||||
@@ -46,7 +46,7 @@ Result(void) test_connection(){
|
||||
printf("ROW(%i):", st->result_row);
|
||||
for(i32 i = 0; i < column_count; i++){
|
||||
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");
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user