Browse Source

Make callback_symbols static so they don't conflict

v0.7.4-release
Ryan Dahl 15 years ago
parent
commit
2788064bc2
  1. 2
      src/node_idle_watcher.cc
  2. 2
      src/node_io_watcher.cc

2
src/node_idle_watcher.cc

@ -11,7 +11,7 @@ namespace node {
using namespace v8; using namespace v8;
Persistent<FunctionTemplate> IdleWatcher::constructor_template; Persistent<FunctionTemplate> IdleWatcher::constructor_template;
Persistent<String> callback_symbol; static Persistent<String> callback_symbol;
void IdleWatcher::Initialize(Handle<Object> target) { void IdleWatcher::Initialize(Handle<Object> target) {
HandleScope scope; HandleScope scope;

2
src/node_io_watcher.cc

@ -11,7 +11,7 @@ namespace node {
using namespace v8; using namespace v8;
Persistent<FunctionTemplate> IOWatcher::constructor_template; Persistent<FunctionTemplate> IOWatcher::constructor_template;
Persistent<String> callback_symbol; static Persistent<String> callback_symbol;
void IOWatcher::Initialize(Handle<Object> target) { void IOWatcher::Initialize(Handle<Object> target) {
HandleScope scope; HandleScope scope;

Loading…
Cancel
Save