Hello, I want to create a Buffer instance in a C++ Addon and export it.
See: https://gist.github.com/bodokaiser/5379132 Somehow v8 does not want to except the returned value of Buffer::New because of: CXX(target) Release/obj.target/test/src/test.o ../src/test.cc:17:11: error: no matching member function for call to 'Close' scope.Close(node::Buffer::New(chunk, 4)); ~~~~~~^~~~~ /Users/bodo/.node-gyp/0.10.4/deps/v8/include/v8.h:4328:23: note: candidate template ignored: failed template argument deduction Local<T> HandleScope::Close(Handle<T> value) { ^ 1 error generated. make: *** [Release/obj.target/test/src/test.o] Error 1 Bodo -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
