mirror of
https://github.com/facebook/rocksdb.git
synced 2024-12-02 10:15:54 +00:00
16 lines
248 B
C++
16 lines
248 B
C++
|
#ifndef BUILDING_NODE_EXTENSION
|
||
|
#define BUILDING_NODE_EXTENSION
|
||
|
#endif
|
||
|
|
||
|
#include <v8.h>
|
||
|
#include <node.h>
|
||
|
#include "db_wrapper.h"
|
||
|
|
||
|
using namespace v8;
|
||
|
|
||
|
void InitAll(Handle<Object> exports) {
|
||
|
DBWrapper::Init(exports);
|
||
|
}
|
||
|
|
||
|
NODE_MODULE(rdb, InitAll)
|