Skip to content

Commit ca4114b

Browse files
committed
Add bytecodevtab subspec
1 parent 68cdf03 commit ca4114b

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

README.markdown

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ To use SQLite in your project, add `pod 'sqlite3'` to your Podfile. However, as
1717
## Subspecs
1818

1919
- [API Armor, detects API misuse during development](https://sqlite.org/compile.html#enable_api_armor): `pod 'sqlite3/api_armor'`
20+
- [Bytecode() And Tables_Used() Table-Valued Functions](https://www.sqlite.org/bytecodevtab.html): `pod 'sqlite3/bytecodevtab'`
2021
- [Column Metadata Access](https://sqlite.org/compile.html#enable_column_metadata): `pod 'sqlite3/coldata'`
2122
- [Full-Text-Search (FTS3/4)](https://www.sqlite.org/fts3.html): `pod 'sqlite3/fts'`
2223
- [Full-Text-Search (FTS5)](https://www.sqlite.org/fts5.html): `pod 'sqlite3/fts5'`

sqlite3.podspec

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,12 @@ CMD
4141
ss.pod_target_xcconfig = { 'OTHER_CFLAGS' => '$(inherited) -DSQLITE_ENABLE_API_ARMOR=1' }
4242
end
4343

44+
# Enable bytecode() and tables_used() table-valued functions
45+
s.subspec 'bytecodevtab' do |ss|
46+
ss.dependency 'sqlite3/common'
47+
ss.pod_target_xcconfig = { 'OTHER_CFLAGS' => '$(inherited) -DSQLITE_ENABLE_BYTECODE_VTAB=1' }
48+
end
49+
4450
# API for column meta-data access
4551
s.subspec 'coldata' do |ss|
4652
ss.dependency 'sqlite3/common'

0 commit comments

Comments
 (0)