File tree Expand file tree Collapse file tree 3 files changed +21
-18
lines changed
generate/templates/partials Expand file tree Collapse file tree 3 files changed +21
-18
lines changed Original file line number Diff line number Diff line change 11{
2- "evil" : true ,
32 "boss" : true ,
4- "immed " : false ,
3+ "curly " : true ,
54 "eqnull" : true ,
5+ "evil" : true ,
6+ "futurehostile" : true ,
7+ "globals" : {
8+ "after" : true ,
9+ "afterEach" : true ,
10+ "before" : true ,
11+ "beforeEach" : true ,
12+ "define" : true ,
13+ "describe" : true ,
14+ "global" : true ,
15+ "it" : true
16+ },
17+ "immed" : false ,
618 "maxlen" : 80 ,
719 "node" : true ,
20+ "predef" : [
21+ " -Promise"
22+ ],
823 "proto" : true ,
9- "curly" : true ,
1024 "quotmark" : " double" ,
1125 "trailing" : true ,
12- "unused" : " vars" ,
1326 "undef" : true ,
14- "validthis" : true ,
15- "globals" : {
16- "global" : true ,
17- "define" : true ,
18- "it" : true ,
19- "describe" : true ,
20- "before" : true ,
21- "beforeEach" : true ,
22- "after" : true ,
23- "afterEach" : true
24- },
25- "predef" : [" -Promise" ]
27+ "unused" : " vars" ,
28+ "validthis" : true
2629}
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ void {{ cppClassName }}::{{ cppFunctionName }}_{{ cbFunction.name }}_asyncAfter(
6262 {% if arg.isEnum %}
6363 NanNew ((int )baton->{{ arg.name }}),
6464 {% elsif arg.isLibgitType %}
65- NanNew ({{ arg.cppClassName }}::New (& baton->{{ arg.name }}, false )),
65+ NanNew ({{ arg.cppClassName }}::New (( void *) baton->{{ arg.name }}, false )),
6666 {% elsif arg.cType == " size_t" %}
6767 // HACK: NAN should really have an overload for NanNew to support size_t
6868 NanNew ((unsigned int )baton->{{ arg.name }}),
Original file line number Diff line number Diff line change 155155 {% if arg.isEnum %}
156156 NanNew ((int )baton->{{ arg.name }}),
157157 {% elsif arg.isLibgitType %}
158- NanNew ({{ arg.cppClassName }}::New (& baton->{{ arg.name }}, false )),
158+ NanNew ({{ arg.cppClassName }}::New (( void *) baton->{{ arg.name }}, false )),
159159 {% elsif arg.cType == " size_t" %}
160160 // HACK: NAN should really have an overload for NanNew to support size_t
161161 NanNew ((unsigned int )baton->{{ arg.name }}),
You can’t perform that action at this time.
0 commit comments