We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
我发现有些内部模块是需要注册外部引用的 NODE_MODULE_CONTEXT_AWARE_INTERNAL(buffer, node::Buffer::Initialize) NODE_MODULE_EXTERNAL_REFERENCE(buffer, node::Buffer::RegisterExternalReferences)
但是有些内部模块就不需要了 NODE_MODULE_CONTEXT_AWARE_INTERNAL(fs, node::fs::Initialize)
不知道这是为什么,我查阅了一些文档应该是所有绑定的c++函数都应该注册外部引用,然后从snapshot启动的时候也需要提供这些引用才可以,但是这里源码却有的模块可以不提供,我感觉应该是有些地方还没有注意到,希望博主能解答一下
The text was updated successfully, but these errors were encountered:
nodejs/node#32984
Sorry, something went wrong.
No branches or pull requests
我发现有些内部模块是需要注册外部引用的
NODE_MODULE_CONTEXT_AWARE_INTERNAL(buffer, node::Buffer::Initialize) NODE_MODULE_EXTERNAL_REFERENCE(buffer, node::Buffer::RegisterExternalReferences)
但是有些内部模块就不需要了
NODE_MODULE_CONTEXT_AWARE_INTERNAL(fs, node::fs::Initialize)
不知道这是为什么,我查阅了一些文档应该是所有绑定的c++函数都应该注册外部引用,然后从snapshot启动的时候也需要提供这些引用才可以,但是这里源码却有的模块可以不提供,我感觉应该是有些地方还没有注意到,希望博主能解答一下
The text was updated successfully, but these errors were encountered: