Skip to content

Commit a95a48e

Browse files
authored
Merge pull request #24 from Kudo/bytecodevtab
Add bytecodevtab subspec
2 parents cd733f3 + ca4114b commit a95a48e

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
@@ -48,6 +48,12 @@ CMD
4848
ss.pod_target_xcconfig = { 'OTHER_CFLAGS' => '$(inherited) -DSQLITE_ENABLE_API_ARMOR=1' }
4949
end
5050

51+
# Enable bytecode() and tables_used() table-valued functions
52+
s.subspec 'bytecodevtab' do |ss|
53+
ss.dependency 'sqlite3/common'
54+
ss.pod_target_xcconfig = { 'OTHER_CFLAGS' => '$(inherited) -DSQLITE_ENABLE_BYTECODE_VTAB=1' }
55+
end
56+
5157
# API for column meta-data access
5258
s.subspec 'coldata' do |ss|
5359
ss.dependency 'sqlite3/common'

0 commit comments

Comments
 (0)