forked from rauls/nodejs-pack
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpack.h
More file actions
executable file
·41 lines (27 loc) · 674 Bytes
/
Copy pathpack.h
File metadata and controls
executable file
·41 lines (27 loc) · 674 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/*
HiPack (C) Raul Sobon
*/
#ifndef PACK_H
#define PACK_H
#include <node.h>
#include <node_version.h>
#include <node_buffer.h>
using namespace v8;
#define NODEJS_MINIT_FUNCTION(_fname_) void (_fname_) (Handle<Object> target);
#define NODEJS_FUNCTION(_fname_) Handle<Value> (_fname_) (const Arguments& argv);
#endif /* PACK_H */
/*
WSCRIPT=
srcdir = '.'
blddir = 'build'
VERSION = '0.0.1'
def set_options(opt):
opt.tool_options('compiler_cxx')
def configure(conf):
conf.check_tool('compiler_cxx')
conf.check_tool('node_addon')
def build(bld):
obj = bld.new_task_gen('cxx', 'shlib', 'node_addon')
obj.target = 'pack'
obj.source = 'pack.cc'
*/