Skip to content
New issue

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

Expose Internals #41

Merged
merged 4 commits into from
Jan 30, 2018
Merged

Expose Internals #41

merged 4 commits into from
Jan 30, 2018

Conversation

Johannes-Schneider
Copy link
Collaborator

@Johannes-Schneider Johannes-Schneider commented Jan 24, 2018

Extracted important internal members to node_lib.h and exposed them via getter methods.

closes #32

@Johannes-Schneider Johannes-Schneider changed the title refactored internals Expose Internals Jan 24, 2018
src/node_lib.h Outdated
bool EventLoopIsRunning() { return _event_loop_running; }
const bool EventLoopIsRunning() { return _event_loop_running; }

const v8::Isolate* Isolate() { return _isolate; }
Copy link
Collaborator

Choose a reason for hiding this comment

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

Just curious, is there a reason you did not name this getIsolate()?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Copy link
Collaborator

@cmfcmf cmfcmf left a comment

Choose a reason for hiding this comment

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

I've now fixed merge conflicts and renamed the getter. Would be great if someone else could look at it and merge it.

@Johannes-Schneider Johannes-Schneider merged commit 25211e6 into node_lib Jan 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants