示例#1
0
文件: map.cpp 项目: nealey/vera
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() );
}