SqliteExtension constructor

SqliteExtension(
  1. Pointer<Void> extensionEntrypoint
)

A sqlite extension having the given extensionEntrypoint as a function pointer.

For the exact signature of extensionEntrypoint, see sqlite3_auto_extension.

Implementation

factory SqliteExtension(Pointer<Void> extensionEntrypoint) {
  return SqliteExtensionImpl((_) => extensionEntrypoint);
}