nbind icon indicating copy to clipboard operation
nbind copied to clipboard

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

Results 65 nbind issues
Sort by recently updated
recently updated
newest added

In case that isn't possible, Anyone has any idea how can I use nbind without having the source code? Thanks!

V8 allows passing JS objects to and from C++, using a map-like API to fetch object fields. I don't see anyway to do this with nbind unfortunately which somewhat complicates...

I have a SDK API ".h" file with C-style, a corresponding dynamical lib".so" file and a static lib ".a" file which are compiled by gcc 4.6. There are many C++...

It's quite weird, because it *does* compile on the repository I shared with you earlier, but doesn't on this one: https://github.com/arcanis/text-layout Despite the code being almost identical (https://github.com/arcanis/text-layout/blob/master/sources/Position.hh#L41-L44 vs https://github.com/arcanis/buffer-offset-index/blob/master/src/point.h#L34-L36)...

When a stringstream is destructed, and the function is bound to JS via nbind, the destructor throws some heap free error. Minimal error example: void SomeClass:doSomething() { auto stream =...

hi~, suppose a method return a Buffer object, you have to code like this: c++ ```c++ void drawToBuffer(int size, nbind::cbFunction& callback) { nbind::Buffer buf = callback.call(size); // ... buf.commit(); }...

enhancement

Not sure if this is an issue or just a newbie question, but im testing nbind to see if i can use it for my wrapper project. I tried following...

I'm getting this warning in my build: `warning: unresolved symbol: $FS` This goes away if I comment out this line: https://github.com/charto/nbind/blob/master/src/nbind.gypi#L35 Is there a better way to remove this or...

I'd like to change the output name used by emscripten to not be "nbind". Is this supported? I tried renaming nbind.js, but it still looks for nbind.js.mem which I'd also...

I hope you won't mind me opening a shitload of issues here! 😅 Apparently, optional parameters become mandatory after being compiled. The V8 codepath triggers a "not enough parameters" error,...