Skip to content

Commit c38a29a

Browse files
simolus3kpgalligan
authored andcommitted
Exclude symbols possibly not available
1 parent 87c6824 commit c38a29a

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ kotlin.code.style=official
22

33
GROUP=co.touchlab
44

5-
VERSION_NAME=1.3.1
5+
VERSION_NAME=1.3.2
66
KOTLIN_VERSION=1.9.20
77

88
kotlin.native.ignoreDisabledTargets=true

sqliter-driver/src/nativeInterop/cinterop/sqlite3.def

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,14 @@ linkerOpts.linux_x64 = -lpthread -ldl
66
linkerOpts.macos_x64 = -lpthread -ldl
77

88
noStringConversion = sqlite3_prepare_v2 sqlite3_prepare_v3
9+
10+
# These functions aren't guaranteed to be callable and we don't use them. The functions listed here
11+
# come from:
12+
# - mutex_held / mutex_notheld: Debug only, https://sqlite.org/c3ref/mutex_held.html
13+
# - column database / table / origin name: Opt-in, https://sqlite.org/c3ref/column_database_name.html
14+
# - sqlite3_normalized_sql: Opt-in, https://sqlite.org/c3ref/expanded_sql.html
15+
# - Snapshots: Opt-in, https://sqlite.org/compile.html#enable_snapshot
16+
# - Scanstatus: Opt-in, https://sqlite.org/c3ref/stmt_scanstatus.html
17+
# - sqlite3_unlock_notify: Opt-in, https://sqlite.org/unlock_notify.html
18+
# - win32: Platform-specific, not used here, https://sqlite.org/c3ref/win32_set_directory.html
19+
excludedFunctions = sqlite3_mutex_held sqlite3_mutex_notheld sqlite3_column_database_name sqlite3_column_database_name16 sqlite3_column_table_name sqlite3_column_table_name16 sqlite3_column_origin_name sqlite3_column_origin_name16 sqlite3_normalized_sql sqlite3_snapshot_get sqlite3_snapshot_free sqlite3_snapshot_open sqlite3_snapshot_cmp sqlite3_snapshot_recover sqlite3_stmt_scanstatus sqlite3_stmt_scanstatus_reset sqlite3_unlock_notify sqlite3_win32_set_directory sqlite3_win32_set_directory8 sqlite3_win32_set_directory16

0 commit comments

Comments
 (0)