Nbind Versions Save

:sparkles: Magical headers that make your C++ library accessible from JavaScript :rocket:

v0.3.15

6 years ago
  • Fix internal compiler error in VS2017.
  • Add basic Android support.
  • Allow resetting references to JS callbacks.

v0.3.13

6 years ago
  • Add NBIND_ALIAS macro to support enum classes.

v0.3.12

6 years ago
  • Fix loading multiple addons with identical class and method names.
  • Move @types/node to devDependencies
  • Fix some methods disappearing on Emscripten target.

v0.3.11

7 years ago
  • Avoid growing heap when passing objects by value.
  • Support const references to std::strings.

v0.3.10

7 years ago
  • Fix constructors taking no arguments.
  • Update development environment.

v0.3.9

7 years ago
  • Support std::function callbacks.
  • Fix passing cbFunction by const reference.
  • Add NBIND_DUPLICATE_POINTERS flag.
  • Update Emscripten detection.

v0.3.8

7 years ago
  • Fix compiling C source files.
  • Detect unbound types at run-time to avoid crash on Node.js target.

v0.3.7

7 years ago
  • Add noconflict.h to avoid macro naming conflicts.
  • Fix ndts issue when no functions outside classes have bindings.
  • Handle exceptions thrown in JavaScript callbacks.

v0.3.6

7 years ago
  • Avoid conflict with "check" macro in AssertMacros.h.
  • Fix passing objects without a toJS method by value on Emscripten target.

v0.3.5

7 years ago

Breaking changes:

  • inherit is now a reserved keyword in NBIND_CLASS sections.

Other changes:

  • Support (multiple) inheritance.
  • Fix issue with loading multiple addons that use nbind.
  • Fix issue with binding non-copyable classes.
  • Allow renaming bound properties.