| 31 | } |
| 32 | |
| 33 | static NODE_METHOD(JS_initialize) { |
| 34 | REQUIRE_ARGUMENT_FUNCTION(first, Napi::Function SqliteError); |
| 35 | REQUIRE_ARGUMENT_FUNCTION(second, Napi::Function ArrayFactory); |
| 36 | REQUIRE_ARGUMENT_FUNCTION(third, Napi::Function ArrayAppender); |
| 37 | REQUIRE_ARGUMENT_FUNCTION(fourth, Napi::Function RowFactory); |
| 38 | REQUIRE_ARGUMENT_FUNCTION(fifth, Napi::Function RecordFactory); |
| 39 | OnlyAddon->SqliteError = Napi::Persistent(SqliteError); |
| 40 | OnlyAddon->ArrayFactory = Napi::Persistent(ArrayFactory); |
| 41 | OnlyAddon->ArrayAppender = Napi::Persistent(ArrayAppender); |
| 42 | OnlyAddon->RowFactory = Napi::Persistent(RowFactory); |
| 43 | OnlyAddon->RecordFactory = Napi::Persistent(RecordFactory); |
| 44 | return info.Env().Undefined(); |
| 45 | } |
| 46 | |
| 47 | Napi::FunctionReference Statement; |
| 48 | Napi::FunctionReference StatementIterator; |
nothing calls this directly
no outgoing calls
no test coverage detected