Something went wrong. Try again.
OpenMW is an open implementation of the Morrowind engine
Something went wrong. Try again.
377 B · 21 lines
C++
12345678910111213141516171819202122#ifndef OPENMW_COMPONENTS_SQLITE3_DB_H#define OPENMW_COMPONENTS_SQLITE3_DB_H
#include <memory>#include <string_view>
struct sqlite3;
namespace Sqlite3{ struct CloseSqlite3 { void operator()(sqlite3* handle) const noexcept; };
using Db = std::unique_ptr<sqlite3, CloseSqlite3>;
Db makeDb(std::string_view path, const char* schema);}
#endif