vrpc 2.6.0 → 3.0.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/vrpc/addon.cpp CHANGED
@@ -11,7 +11,7 @@ __\/\\\_______\/\\\__/\\\///////\\\___\/\\\/////////\\\____/\\\////////__
11
11
 
12
12
 
13
13
  Enables Node.js to run VRPC as native addon.
14
- Author: Dr. Burkhard C. Heisen (https://github.com/bheisen/vrpc)
14
+ Author: Dr. Burkhard C. Heisen (https://github.com/heisenware/vrpc)
15
15
 
16
16
 
17
17
  Licensed under the MIT License <http://opensource.org/licenses/MIT>.
@@ -42,11 +42,11 @@ SOFTWARE.
42
42
  #include <mutex>
43
43
  #include <thread>
44
44
 
45
- #include "json.hpp"
46
- #include "vrpc.hpp"
45
+ #include <vrpc/json.hpp>
46
+ #include <vrpc/adapter.hpp>
47
47
 
48
48
  #ifndef VRPC_WITH_DL
49
- #include <binding.cpp>
49
+ #include <adapter.cpp>
50
50
  #endif
51
51
 
52
52
  #define _VRPC_MAX_HANDLERS 32
@@ -301,7 +301,7 @@ void onCallback(const FunctionCallbackInfo<Value>& args) {
301
301
  if (nHandlers >= _VRPC_MAX_HANDLERS) {
302
302
  isolate->ThrowException(Exception::TypeError(
303
303
  String::NewFromUtf8(isolate,
304
- "Exceeded maximum number of handler regisrations",
304
+ "Exceeded maximum number of handler registrations",
305
305
  NewStringType::kNormal)
306
306
  .ToLocalChecked()));
307
307
  }