File indexing completed on 2024-11-17 04:55:16

0001 /*
0002     SPDX-License-Identifier: MPL-2.0
0003 */
0004 
0005 /* Copyright (c) 2015 Brian R. Bondy. Distributed under the MPL2 license.
0006  * This Source Code Form is subject to the terms of the Mozilla Public
0007  * License, v. 2.0. If a copy of the MPL was not distributed with this
0008  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
0009 
0010 #include <node.h>
0011 #include "BloomFilterWrap.h"
0012 
0013 namespace BloomFilterWrap {
0014 
0015 using v8::Local;
0016 using v8::Object;
0017 
0018 void InitAll(Local<Object> exports) {
0019   BloomFilterWrap::Init(exports);
0020 }
0021 
0022 NODE_MODULE(addon, InitAll)
0023 
0024 }  // namespace BloomFilterWrap