Skip to content

Commit

Permalink
Link custom extension example
Browse files Browse the repository at this point in the history
  • Loading branch information
simolus3 committed Oct 13, 2024
1 parent 3395710 commit 558a1b5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions sqlite3/example/custom_extension/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,11 @@ dev_dependencies:

flutter_lints: ^3.0.0

dependency_overrides:
sqlite3:
path: ../../../
sqlite3_flutter_libs:
path: ../../../../sqlite3_flutter_libs

flutter:
uses-material-design: true
1 change: 1 addition & 0 deletions sqlite3/lib/src/ffi/api.dart
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ abstract interface class Sqlite3 implements CommonSqlite3 {
/// For an example of how to write and load extensions, see
/// - this C file: https://github.com/simolus3/sqlite3.dart/blob/main/sqlite3/test/ffi/test_extension.c
/// - this Dart test loading it: https://github.com/simolus3/sqlite3.dart/blob/a9a379494c6b8d58a3c31cf04fe16e83b49130f1/sqlite3/test/ffi/sqlite3_test.dart#L35
/// - Or, alternatively, this Flutter example: https://github.com/simolus3/sqlite3.dart/tree/main/sqlite3/example/custom_extension
abstract interface class SqliteExtension {
/// A sqlite extension having the given [extensionEntrypoint] as a function
/// pointer.
Expand Down

0 comments on commit 558a1b5

Please sign in to comment.