阅读背景:

如何使用C ++插件中内置模块的node.js

来源:互联网 

I need to use node.js built in module 'crypto' from my C++ addon. I tried to find examples of C++ addons which use built in modules, but failed. I looked in node_crypto.h/.cc and it has so different function signatures comparing with node.js crypto documentation, protected constructors, etc. node_crypto.h contains InitCrypto() declaration with one parameter, but node_crypto.cc has not definition of such function. There is only InitCrypto with four parameters. I tried anyway use InitCrypto with one parameter and got "symbol lookup error".I need to use node.js built in module 'crypto'




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: