blob: 31dbc15c046fd08bc3d7c63e405ec1e7bede0064 [file]
// Copyright (c) 2025, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
import 'package:ffi/ffi.dart';
import 'third_party/sqlite3.g.dart';
/// The version of SQLite.
String get version {
final nativeString = sqlite3_libversion();
return nativeString.cast<Utf8>().toDartString();
}