nbind
nbind copied to clipboard
:sparkles: Magical headers that make your C++ library accessible from JavaScript :rocket:
Seeing as gyp and node-gyp are being depreciated soon, would you be interested in switching build to cmake and in particular the excellent [cmake-js](https://github.com/cmake-js/cmake-js) module. I am trying to create...
I just noticed that nbind apparently isn't compatible with Webpack yet. Supporting it would be a great addition, especially since the asm.js compilation already works ! Basically, in order to...
Hi there ! I have another problem with emscripten compilation, which I extracted in a separated repository: https://github.com/Luthaf/nbind-vector-double. The issue occurs when trying to pass `std::vector` or `std::vector` from C++...
When building code with emscripten, I would think that `NBIND_ERR` would throw an error on the javascript side, but it does not. I was able to find the corresponding code...
I'm using nbind to access a c library, I have a working set of bindings in a _libModule_ and I want to use the interface I export in a separate...
The following lines do not compile with the v8 codepath: ```c++ nbind::cbFunction fn; // no matching function for call to ‘nbind::cbFunction::cbFunction()’ fn = otherFnFunction; // use of deleted function ‘nbind::cbFunction&...
Currently it looks like ndts generates names for method params: e.g. ``` export class Widget extends NBindBase { /** Widget(); */ constructor(); /** void set_size_request(int32_t, int32_t); */ set_size_request(p0: number, p1:...
Embind has a concept of value_objects which allow us to define "fields" of simple structs. Is there a similar concept in nbind? I did see a "filed" macro, but there...
So I have the following binding.gyp: ```json { "targets": [ { "includes": [ "auto.gypi" ], "sources": [ "node-adapter/cxx/src/*.cpp" ], "include_dirs": [ "build", "node-adapter/cxx/include" ], "libraries": [ "-lrl", "-lentailmentsearch", "-L/usr/local/lib/x86_64-linux-gnu", "-lcassandra"...
I've been trying to use nbind with TypeScript, as instructed in the readme file - however, when I run npm run -s -- ndts . > lib-types.d.ts, it generates an...