FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
Rebol-SQLite/src/sqlite-command-initialize.c at main · Siskin-framework/Rebol-SQLite · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
Siskin-framework
/
Rebol-SQLite
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
4
Code
Issues
3
Pull requests
0
Discussions
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
Rebol-SQLite
/
src
/
sqlite-command-initialize.c
Copy path
More file actions
More file actions
Latest commit
History
History
History
23 lines (21 loc) · 775 Bytes
Breadcrumbs
Rebol-SQLite
/
src
/
sqlite-command-initialize.c
Copy path
File metadata and controls
23 lines (21 loc) · 775 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// ____ __ __ ______ __
// / __ \/ /__/ /__ ___ /_ __/__ ____/ /
// / /_/ / / _ / -_|_-<_ / / / -_) __/ _ \
// \____/_/\_,_/\__/___(@)_/ \__/\__/_// /
// ~~~ oldes.huhuman at gmail.com ~~~ /_/
//
// SPDX-License-Identifier: MIT
// =============================================================================
// Rebol/SQLite extension
// =============================================================================
// Use on your own risc!
#include
"sqlite-rebol-extension.h"
int
cmd_sqlite_initialize
(
RXIFRM
*
frm
,
void
*
reb_ctx
) {
int
rc
=
sqlite3_initialize
();
if
(
rc
!=
SQLITE_OK
) {
snprintf
((
char
*
)
error_buffer
,
254
,
"[SQLITE] %s"
,
sqlite3_errstr
(
rc
));
RXA_SERIES
(
frm
,
1
)
=
(
void
*
)
error_buffer
;
return
RXR_ERROR
;
}
return
RXR_TRUE
;
}
Back
|
FazBrowse Home
|
New Git URL