koffi 1.3.3 → 1.3.4

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.
Files changed (29) hide show
  1. package/ChangeLog.md +6 -0
  2. package/build/qemu/{1.3.3 → 1.3.4}/koffi_darwin_arm64.tar.gz +0 -0
  3. package/build/qemu/{1.3.3 → 1.3.4}/koffi_darwin_x64.tar.gz +0 -0
  4. package/build/qemu/{1.3.3 → 1.3.4}/koffi_freebsd_arm64.tar.gz +0 -0
  5. package/build/qemu/{1.3.3 → 1.3.4}/koffi_freebsd_ia32.tar.gz +0 -0
  6. package/build/qemu/{1.3.3 → 1.3.4}/koffi_freebsd_x64.tar.gz +0 -0
  7. package/build/qemu/{1.3.3 → 1.3.4}/koffi_linux_arm32hf.tar.gz +0 -0
  8. package/build/qemu/{1.3.3 → 1.3.4}/koffi_linux_arm64.tar.gz +0 -0
  9. package/build/qemu/{1.3.3 → 1.3.4}/koffi_linux_ia32.tar.gz +0 -0
  10. package/build/qemu/{1.3.3 → 1.3.4}/koffi_linux_riscv64hf64.tar.gz +0 -0
  11. package/build/qemu/{1.3.3 → 1.3.4}/koffi_linux_x64.tar.gz +0 -0
  12. package/build/qemu/1.3.4/koffi_openbsd_ia32.tar.gz +0 -0
  13. package/build/qemu/{1.3.3 → 1.3.4}/koffi_openbsd_x64.tar.gz +0 -0
  14. package/build/qemu/{1.3.3 → 1.3.4}/koffi_win32_arm64.tar.gz +0 -0
  15. package/build/qemu/{1.3.3 → 1.3.4}/koffi_win32_ia32.tar.gz +0 -0
  16. package/build/qemu/{1.3.3 → 1.3.4}/koffi_win32_x64.tar.gz +0 -0
  17. package/doc/dist/html/_static/pygments.css +54 -54
  18. package/doc/dist/html/changes.html +8 -0
  19. package/doc/dist/html/functions.html +66 -66
  20. package/doc/dist/html/index.html +3 -2
  21. package/doc/dist/html/memory.html +2 -2
  22. package/doc/dist/html/objects.inv +0 -0
  23. package/doc/dist/html/platforms.html +1 -1
  24. package/doc/dist/html/searchindex.js +1 -1
  25. package/doc/dist/html/start.html +45 -45
  26. package/doc/dist/html/types.html +152 -152
  27. package/package.json +1 -1
  28. package/src/abi_x86.cc +5 -0
  29. package/build/qemu/1.3.3/koffi_openbsd_ia32.tar.gz +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "koffi",
3
- "version": "1.3.3",
3
+ "version": "1.3.4",
4
4
  "description": "Fast and simple C FFI (foreign function interface) for Node.js",
5
5
  "keywords": [
6
6
  "foreign",
package/src/abi_x86.cc CHANGED
@@ -145,6 +145,11 @@ bool AnalyseFunction(Napi::Env env, InstanceData *instance, FunctionInfo *func)
145
145
  } break;
146
146
  }
147
147
 
148
+ #ifdef __OpenBSD__
149
+ // Make sure the SP points inside the MAP_STACK area, or (void) functions may crash on OpenBSD
150
+ func->args_size = std::max(4, func->args_size);
151
+ #endif
152
+
148
153
  return true;
149
154
  }
150
155