diff options
author | Ryan <ry@tinyclouds.org> | 2009-04-29 01:09:56 +0400 |
---|---|---|
committer | Ryan <ry@tinyclouds.org> | 2009-04-29 01:09:56 +0400 |
commit | cf1c58063e1ba07efcfc304a1f8372380b62cf95 (patch) | |
tree | 85e5c5343807dfed359d07bb85211662e38186d5 /src/timers.cc | |
parent | 90fc8d36220c0d66c352ee5f72080b8592d310d5 (diff) |
Create a node namespace
Part of general reorganization.
Diffstat (limited to 'src/timers.cc')
-rw-r--r-- | src/timers.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/timers.cc b/src/timers.cc index a427b22f6b6..7e23662c1d8 100644 --- a/src/timers.cc +++ b/src/timers.cc @@ -48,7 +48,7 @@ Timer::OnTimeout (EV_P_ ev_timer *watcher, int revents) TryCatch try_catch; callback->Call (Context::GetCurrent()->Global(), 0, NULL); if(try_catch.HasCaught()) - node_fatal_exception(try_catch); + node::fatal_exception(try_catch); // use ev_is_active instead? if(watcher->repeat == 0.) @@ -132,7 +132,7 @@ Timer::clearTimeout (const Arguments& args) } void -NodeInit_timers (Handle<Object> target) +node::Init_timers (Handle<Object> target) { HandleScope scope; |