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 +18 -16
- package/build/qemu/1.0.3/koffi_darwin_x64.tar.gz +0 -0
- package/build/qemu/1.0.3/koffi_freebsd_arm64.tar.gz +0 -0
- package/build/qemu/1.0.3/koffi_freebsd_ia32.tar.gz +0 -0
- package/build/qemu/1.0.3/koffi_freebsd_x64.tar.gz +0 -0
- package/build/qemu/1.0.3/koffi_linux_arm.tar.gz +0 -0
- package/build/qemu/1.0.3/koffi_linux_arm64.tar.gz +0 -0
- package/build/qemu/1.0.3/koffi_linux_ia32.tar.gz +0 -0
- package/build/qemu/1.0.3/koffi_linux_x64.tar.gz +0 -0
- package/build/qemu/1.0.3/koffi_win32_ia32.tar.gz +0 -0
- package/build/qemu/1.0.3/koffi_win32_x64.tar.gz +0 -0
- package/package.json +1 -1
- package/build/qemu/1.0.2/koffi_darwin_x64.tar.gz +0 -0
- package/build/qemu/1.0.2/koffi_freebsd_arm64.tar.gz +0 -0
- package/build/qemu/1.0.2/koffi_freebsd_ia32.tar.gz +0 -0
- package/build/qemu/1.0.2/koffi_freebsd_x64.tar.gz +0 -0
- package/build/qemu/1.0.2/koffi_linux_arm.tar.gz +0 -0
- package/build/qemu/1.0.2/koffi_linux_arm64.tar.gz +0 -0
- package/build/qemu/1.0.2/koffi_linux_ia32.tar.gz +0 -0
- package/build/qemu/1.0.2/koffi_linux_x64.tar.gz +0 -0
- package/build/qemu/1.0.2/koffi_win32_ia32.tar.gz +0 -0
- package/build/qemu/1.0.2/koffi_win32_x64.tar.gz +0 -0
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
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
OpenBSD |
|
|
40
|
-
|
|
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
|
|
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');
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|