Пример #1
0
static int refput(ushort index)
{
  if(!LoadOpis(index, CONSTANT_Utf8, NULL)) return(0);

  qfprintf(myFile, rfmt, index);
  return(utfstr(index, NULL));
}
Пример #2
0
/*
  DESCRIPTION
    Set Accessor of connectionClass property
*/
void Oracledb::SetConnectionClass (Local<String> property, Local<Value> value,
                                   const AccessorInfo& info)
{
  HandleScope scope;

  Oracledb *oracledb = ObjectWrap::Unwrap<Oracledb>(info.Holder());
  v8::String::Utf8Value utfstr ( value->ToString () );

  oracledb->connClass_ = std::string ( *utfstr, utfstr.length() );
}