Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/node.h
Original file line number Diff line number Diff line change
Expand Up @@ -1462,7 +1462,6 @@ class NODE_EXTERN CallbackScope {
CallbackScope(CallbackScope&&) = delete;

private:
void* resource_storage_global_;
Copy link
Member

@legendecas legendecas Nov 22, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This structure is a public API and changing the private fields will change the size of the struct and cause ABI incompatibility.

This field was named as reserved_.

This should be a semver-major change.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm ok to keep it if it's reserved for something. Do you have a suggestion for an explaining comment?

union {
v8::Local<v8::Object> local;
v8::Global<v8::Object>* global_ptr;
Expand Down
Loading