Bindings for WhiteDB for Node.JS
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
#ifndef WGDB_UTILS_H
|
|
|
#define WGDB_UTILS_H
|
|
|
|
|
|
#include <node.h>
|
|
|
#include <whitedb/dbapi.h>
|
|
|
#include <v8.h>
|
|
|
|
|
|
using namespace node;
|
|
|
using namespace v8;
|
|
|
|
|
|
char* get_str(Local<Value> val);
|
|
|
|
|
|
Local<Value> encoded_to_v8(void* db_ptr, wg_int enc);
|
|
|
|
|
|
wg_int v8_to_encoded(void* db_ptr, Local<Value> data);
|
|
|
|
|
|
wg_int v8_to_encoded_param(void* db_ptr, Local<Value> data);
|
|
|
#endif
|