xref: /unit/src/nodejs/unit-http/addon.cpp (revision 802:fb9a6392d04a)
1*802Salexander.borisov@nginx.com 
2*802Salexander.borisov@nginx.com /*
3*802Salexander.borisov@nginx.com  * Copyright (C) NGINX, Inc.
4*802Salexander.borisov@nginx.com  */
5*802Salexander.borisov@nginx.com 
6*802Salexander.borisov@nginx.com #include "unit.h"
7*802Salexander.borisov@nginx.com 
8*802Salexander.borisov@nginx.com 
9*802Salexander.borisov@nginx.com napi_value
Init(napi_env env,napi_value exports)10*802Salexander.borisov@nginx.com Init(napi_env env, napi_value exports)
11*802Salexander.borisov@nginx.com {
12*802Salexander.borisov@nginx.com     return Unit::init(env, exports);
13*802Salexander.borisov@nginx.com }
14*802Salexander.borisov@nginx.com 
15*802Salexander.borisov@nginx.com NAPI_MODULE(Unit, Init)
16