Hi,
How can I return a block of data from a native module to javascript.
The following causes some kind of converison:
obj->Set(String::New("name"), String::New(frag->getContent().getBytes(),
frag->getContent().length()));
and the following does not compile:
obj->Set(String::New("name"),
node::
Hi,
How can I receive additional "require" argument inside a native module.
Assume the following javascript code:
var user = require('./user')(client);
How can I receive "client" argument in a native module.
Could you please provide a short code snippet.
thanks
--
Job board: http://jobs.nodejs
On Friday, April 25, 2014 11:29:51 AM UTC+2, Pawel Por wrote:
>
> Hi
>
> When launching my addon under linux I got the following error message:
> Error: Symbol myaddon_module not found
>
> I can see this symbol in myaddon.node file:
> 007eed40 d myaddon_module
Hi
When launching my addon under linux I got the following error message:
Error: Symbol myaddon_module not found
I can see this symbol in myaddon.node file:
007eed40 d myaddon_module
I have the following line in my source code:
NODE_MODULE(myaddon, myInit)
My app.js is as follows:
requi
On Tuesday, April 15, 2014 7:37:01 PM UTC+2, mscdex wrote:
>
> On Tuesday, April 15, 2014 4:27:49 AM UTC-4, Pawel Por wrote:
>>
>> also cannot see any nodejs specific library when listing shared library
>> dependencies with ldd my_module.node
>>
>>
>
&
On Monday, April 14, 2014 5:14:14 PM UTC+2, mscdex wrote:
>
> On Monday, April 14, 2014 10:32:25 AM UTC-4, Pawel Por wrote:
>>
>> I can see that node.lib exists in Windows installation and does not exist
>> in Linux one.
>> It is used when linking native (C++) mod
Hi
I can see that node.lib exists in Windows installation and does not exist
in Linux one.
It is used when linking native (C++) modules. I wonder why node.lib is not
necessary during linking on Linux.
Is everything what is inside node.lib included in
~/.node-gyp/0.10.26/deps/v8/include and ~/.n
but "ps" linux command shows that my node application consumes 2 threads.
thanks for reply
On Thursday, February 13, 2014 1:04:57 PM UTC+1, Alan Hoffmeister wrote:
>
> I think that Node.js don't have threads, so no TID...
> --
> Att,
> Alan Hoffmeister
>
>
Hi
How can I print thread id in node js ?
I mean thread ID (TID) not process ID (PID).
thanks for answer
--
--
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
equire(’npm’) ?
> Am Fr. Feb. 07 2014 15:22:46 schrieb Pawel Por:
>
> > Hi
> >
> > Can I use npm to build an npm package itself.
> > If so how can I do that ?
> >
> > thanks for help
> >
> > --
>
>
>
>
--
--
Job Board
Hi
node-gyp uses bindings.gyp file by default.
How can I specify another bindings.gyp file for
node-gyp configure | build etc...
Is there some option like e.g.
node-gyp -b my_bindings.ghp ...
thanks for help
--
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joy
Hi
Can I use npm to build an npm package itself.
If so how can I do that ?
thanks for help
--
--
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
Hi
I would like to understand how nodejs works in more details.
I found on wiki that a part of nodejs is a V8 JavaScript engine.
On V8's wiki I can see that it compiles JavaScript into native machine code.
Should I understand that nodejs first compiles the JavaScript code into
native machine cod
13 matches
Mail list logo