Subversion Repositories HomeAutomation

Rev

Rev 971 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed

Rev 971 Rev 973
Line 390... Line 390...
390
 
390
 
391
Handle<Value> VirtualMachine_stopIntervalThread(const Arguments& args)
391
Handle<Value> VirtualMachine_stopIntervalThread(const Arguments& args)
392
{
392
{
393
    VirtualMachine &vm = VirtualMachine::getInstance();
393
    VirtualMachine &vm = VirtualMachine::getInstance();
394
 
394
 
395
    unsigned int id = args[1]->Uint32Value();
395
    unsigned int id = args[0]->Uint32Value();
396
 
396
 
397
    return Integer::New(vm.stopIntervalThread(id));
397
    return Integer::New(vm.stopIntervalThread(id));
398
}
398
}