mirror of
https://github.com/facebook/rocksdb.git
synced 2024-11-27 11:43:49 +00:00
6c2bf9e916
Summary: internal task: T35568575 Pull Request resolved: https://github.com/facebook/rocksdb/pull/5199 Differential Revision: D14962794 Pulled By: gfosco fbshipit-source-id: 93838ede6d0235eaecff90d200faed9a8515bbbe
17 lines
322 B
C++
17 lines
322 B
C++
// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
|
|
#ifndef BUILDING_NODE_EXTENSION
|
|
#define BUILDING_NODE_EXTENSION
|
|
#endif
|
|
|
|
#include <node.h>
|
|
#include <v8.h>
|
|
#include "db/_wrapper.h"
|
|
|
|
using namespace v8;
|
|
|
|
void InitAll(Handle<Object> exports) {
|
|
DBWrapper::Init(exports);
|
|
}
|
|
|
|
NODE_MODULE(rdb, InitAll)
|