Macro libsql_sys::init_static_wal_method
source · macro_rules! init_static_wal_method { ($name:ident, $ty:path) => { ... }; }
Expand description
This macro handles the registering of a WalHook within libSQL. It first instantiates WalMethodsHook
to a stable location in memory, and then calls libsql_wal_methods_register
with the WAL methods.
The methods are never unregistered, since they’re expected to live for the entirety of the program.