2019-04-18 19:51:19 +02:00
|
|
|
// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
|
2014-11-05 04:05:17 +01:00
|
|
|
#ifndef BUILDING_NODE_EXTENSION
|
|
|
|
#define BUILDING_NODE_EXTENSION
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include <node.h>
|
2017-04-04 03:27:24 +02:00
|
|
|
#include <v8.h>
|
|
|
|
#include "db/_wrapper.h"
|
2014-11-05 04:05:17 +01:00
|
|
|
|
|
|
|
void InitAll(Handle<Object> exports) {
|
|
|
|
DBWrapper::Init(exports);
|
|
|
|
}
|
|
|
|
|
|
|
|
NODE_MODULE(rdb, InitAll)
|