koffi 1.0.2 → 1.0.3

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/README.md CHANGED
@@ -23,21 +23,23 @@ The following platforms __are officially supported and tested__ at the moment:
23
23
 
24
24
  Platoform | Architecture | JS to C | C to JS (callback) | Pre-built binary
25
25
  --------- | -------------------------------- | ------- | ------------------ | ----------------
26
- Windows | x86 (cdecl, stdcall, fastcall) | 🟩 | 🟥 | Yes
27
- Windows | x86_64 | 🟩 | 🟥 | Yes
28
- Linux | x86 | 🟩 | 🟥 | Yes
29
- Linux | x86_64 | 🟩 | 🟥 | Yes
30
- Linux | ARM32+VFP Little Endian | 🟩 | 🟥 | Yes
31
- Linux | ARM64 Little Endian | 🟩 | 🟥 | Yes
32
- FreeBSD | x86 | 🟩 | 🟥 | Yes
33
- FreeBSD | x86_64 | 🟩 | 🟥 | Yes
34
- FreeBSD | ARM64 Little Endian | 🟩 | 🟥 | Yes
35
- macOS | x86_64 | 🟩 | 🟥 | Yes
36
- macOS | ARM64 (M1) Little Endian | 🟩 | 🟥 | No x
37
- NetBSD | x86_64 | 🟧 | 🟥 | No x
38
- NetBSD | ARM64 Little Endian | 🟧 | 🟥 | No x
39
- OpenBSD | x86_64 | 🟧 | 🟥 | No x
40
- OpenBSD | ARM64 Little Endian | 🟧 | 🟥 | No x
26
+ Windows | x86 (cdecl, stdcall, fastcall) | 🟩 | 🟥 | Yes
27
+ Windows | x86_64 | 🟩 | 🟥 | Yes
28
+ Linux | x86 | 🟩 | 🟥 | Yes
29
+ Linux | x86_64 | 🟩 | 🟥 | Yes
30
+ Linux | ARM32+VFP Little Endian | 🟩 | 🟥 | Yes
31
+ Linux | ARM64 Little Endian | 🟩 | 🟥 | Yes
32
+ FreeBSD | x86 | 🟩 | 🟥 | Yes
33
+ FreeBSD | x86_64 | 🟩 | 🟥 | Yes
34
+ FreeBSD | ARM64 Little Endian | 🟩 | 🟥 | Yes
35
+ macOS | x86_64 | 🟩 | 🟥 | Yes
36
+ macOS | ARM64 (M1) Little Endian | 🟩 | 🟥 | No
37
+ OpenBSD | x86_64 | 🟧 | 🟥 | No
38
+ OpenBSD | x86 | 🟧 | 🟥 | No
39
+ OpenBSD | ARM64 Little Endian | 🟧 | 🟥 | No
40
+ NetBSD | x86_64 | 🟧 | 🟥 | No
41
+ NetBSD | x86 | 🟧 | 🟥 | ❌ No
42
+ NetBSD | ARM64 Little Endian | 🟧 | 🟥 | ❌ No
41
43
 
42
44
  🟩 Tested, fully operational
43
45
  🟧 May work, but not actively tested
@@ -101,7 +103,7 @@ MessageBoxA(null, 'Hello', 'Foobar', MB_ICONINFORMATION);
101
103
 
102
104
  ## Raylib example
103
105
 
104
- This section assumes you know how to build C shared libraries, such as Raylib. You may need to fix the URL to the library before you can do anything.
106
+ This section assumes you know how to build C shared libraries, such as Raylib. You may need to fix the path to the library before you can do anything.
105
107
 
106
108
  ```js
107
109
  const koffi = require('koffi');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "koffi",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "Fast and simple FFI (foreign function interface) for Node.js",
5
5
  "keywords": [
6
6
  "foreign",