@@ -55,7 +55,7 @@ Nan::Persistent<v8::Function> CallbackBridge<T, L>::wrapper_constructor;
55
55
56
56
template <typename T, typename L>
57
57
CallbackBridge<T, L>::CallbackBridge(v8::Local<v8::Function> callback, bool is_sync) : callback(new Nan::Callback(callback)), is_sync(is_sync) {
58
- /*
58
+ /*
59
59
* This is invoked from the main JavaScript thread.
60
60
* V8 context is available.
61
61
*/
@@ -89,7 +89,7 @@ template <typename T, typename L>
89
89
T CallbackBridge<T, L>::operator ()(std::vector<void *> argv) {
90
90
// argv.push_back(wrapper);
91
91
if (this ->is_sync ) {
92
- /*
92
+ /*
93
93
* This is invoked from the main JavaScript thread.
94
94
* V8 context is available.
95
95
*
@@ -110,7 +110,7 @@ T CallbackBridge<T, L>::operator()(std::vector<void*> argv) {
110
110
this ->callback ->Call (argv_v8.size (), &argv_v8[0 ])
111
111
);
112
112
} else {
113
- /*
113
+ /*
114
114
* This is invoked from the worker thread.
115
115
* No V8 context and functions available.
116
116
* Just wait for response from asynchronously
@@ -141,7 +141,7 @@ template <typename T, typename L>
141
141
void CallbackBridge<T, L>::dispatched_async_uv_callback(uv_async_t *req) {
142
142
CallbackBridge* bridge = static_cast <CallbackBridge*>(req->data );
143
143
144
- /*
144
+ /*
145
145
* Function scheduled via uv_async mechanism, therefore
146
146
* it is invoked from the main JavaScript thread.
147
147
* V8 context is available.
@@ -169,7 +169,7 @@ void CallbackBridge<T, L>::dispatched_async_uv_callback(uv_async_t *req) {
169
169
template <typename T, typename L>
170
170
NAN_METHOD (CallbackBridge<T COMMA L>::ReturnCallback) {
171
171
172
- /*
172
+ /*
173
173
* Callback function invoked by the user code.
174
174
* It is invoked from the main JavaScript thread.
175
175
* V8 context is available.
0 commit comments