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

Use NAN for compatibility with Node 0.11+ #52

Merged
merged 1 commit into from
Feb 11, 2015

Conversation

drewish
Copy link
Collaborator

@drewish drewish commented Jun 20, 2014

Use the NAN module to get this working with the new version of node.

#include <queue>
#include <uv.h>

#include "lib/RtMidi/RtMidi.h"
#include "lib/RtMidi/RtMidi.cpp"

using namespace node;
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Seemed really odd to use node's namespace but not v8's. Decided it was probably best to be explicit with node too.

drewish added a commit that referenced this pull request Feb 11, 2015
Use NAN for compatibility with Node 0.11+
@drewish drewish merged commit a1839dc into justinlatimer:master Feb 11, 2015
@drewish drewish deleted the use-nan branch February 11, 2015 19:52
@drewish
Copy link
Collaborator Author

drewish commented Feb 11, 2015

I just pushed e53396b which got the builds against 0.10 working again.

@justinlatimer
Copy link
Owner

Published to npm as v0.9.1!

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.

2 participants