Esempio n. 1
0
Handle<Value> execute(const Arguments &args) {
  DEBUG_MARKER(UDEB_DEBUG);  
  REQUIRE_ARGS_LENGTH(4);

  typedef NativeMethodCall_3_<int, NdbTransaction, NdbTransaction::ExecType,
                              NdbOperation::AbortOption, int> NCALL;
  NCALL * ncallptr = new NCALL(& NdbTransaction::execute, args);
  ncallptr->errorHandler = getNdbErrorIfLessThanZero<int, NdbTransaction>;
  ncallptr->runAsync();

  return Undefined();
}
// void close()
// ASYNC
Handle<Value> ScanOperation_close(const Arguments & args) {
  typedef NativeVoidMethodCall_0_<ScanOperation> NCALL;
  NCALL * ncallptr = new NCALL(& ScanOperation::close, args);
  ncallptr->runAsync();
  return Undefined();
}
Esempio n. 3
0
// void close()
// ASYNC
void ScanOperation_close(const Arguments & args) {
  typedef NativeVoidMethodCall_0_<ScanOperation> NCALL;
  NCALL * ncallptr = new NCALL(& ScanOperation::close, args);
  ncallptr->runAsync();
  args.GetReturnValue().SetUndefined();
}