File: only-use-native

package info (click to toggle)
node-ws 1.1.0%2Bds1.e6ddaae4-3%2Bdeb9u1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 824 kB
  • sloc: cpp: 220; sh: 93; makefile: 91
file content (23 lines) | stat: -rw-r--r-- 588 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Description: Use native libs directly
 Remove the fallback wrapper adapters and use the native modules directly.
Author: Ximin Luo <infinity0@debian.org>
Forwarded: not-needed
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/src/bufferutil.cc
+++ b/src/bufferutil.cc
@@ -117,4 +117,4 @@
   BufferUtil::Initialize(target);
 }
 
-NODE_MODULE(bufferutil, init)
+NODE_MODULE(BufferUtil, init)
--- a/src/validation.cc
+++ b/src/validation.cc
@@ -144,5 +144,5 @@
   Validation::Initialize(target);
 }
 
-NODE_MODULE(validation, init)
+NODE_MODULE(Validation, init)