Skip to content

Commit

Permalink
Build: better info message; disabled debug traces
Browse files Browse the repository at this point in the history
  • Loading branch information
Oldes committed Nov 8, 2021
1 parent 4b8e3b6 commit cc0cccd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Rebol-SQLite.nest
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
;~ Siskin project nest file ~;
compiler: clang
version: 3.5.6
version: 3.36.0.1

define: USE_TRACES
;define: USE_TRACES

#if Windows? [ define: _CRT_SECURE_NO_WARNINGS upx: on]
#if macOS? [ define: TO_OSX define: HAS_BOOL]
Expand Down
5 changes: 3 additions & 2 deletions src/sqlite-command-info.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,9 @@ int cmd_sqlite_info(RXIFRM* frm, void* reb_ctx) {
tail = snprintf(
SERIES_TEXT(str),
SERIES_REST(str),
"ExtVersion: %u.%u.%u\n"
"RebVersion: %u.%u.%u\n"
"\n"
"Rebol-needed: %u.%u.%u\n"
"Rebol-current: %u.%u.%u\n"
"SQLite-version: %s\n"
"SQLite-memory: %llu\n" // the number of bytes of memory currently outstanding (malloced but not freed)
"SQLite-mem-top: %llu\n",
Expand Down
2 changes: 1 addition & 1 deletion src/sqlite-rebol-extension.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ int cmd_sqlite_initialize(RXIFRM* frm, void* reb_ctx);
int cmd_sqlite_shutdown(RXIFRM* frm, void* reb_ctx);

#define EXT_SQLITE_INIT_CODE \
"REBOL [Title: \"Rebol SQLite Extension\" Name: sqlite Type: module Exports: [] Date: 8-Nov-2021/12:13:50+1:00 Version: 3.36.0 ]\n"\
"REBOL [Title: \"Rebol SQLite Extension\" Name: sqlite Type: module Exports: [] Version: 3.36.0.1 Author: Oldes Date: 8-Nov-2021/14:51:17+1:00 License: Apache-2.0 Url: https://github.com/Siskin-framework/Rebol-SQLite]\n"\
"init-words: command [cmd-words [block!] arg-words [block!]]\n"\
"info: command [\"Returns info about SQLite extension library\" /of handle [handle!] \"SQLite Extension handle\"]\n"\
"open: command [\"Opens a new database connection\" file [file!]]\n"\
Expand Down

0 comments on commit cc0cccd

Please sign in to comment.