node-ctypes 1.2.0 → 1.3.0

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.
@@ -199,7 +199,7 @@ export function createPrimitiveTypes(SimpleCData, native, addressOf, cstring, ws
199
199
 
200
200
  class c_char extends SimpleCData {
201
201
  static _size = 1;
202
- static _type = CType.INT8; // char is int8 in C
202
+ static _type = CType.INT8; // char is int8 in C
203
203
  static _reader = (buf, off) => buf.readInt8(off);
204
204
  static _writer = (buf, off, val) => {
205
205
  if (typeof val === "string") val = val.charCodeAt(0);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-ctypes",
3
- "version": "1.2.0",
3
+ "version": "1.3.0",
4
4
  "description": "Python ctypes-like FFI for Node.js using libffi",
5
5
  "author": "Damiano Mazzella",
6
6
  "license": "MIT",