Method: Ctp::CThostFtdcVerifyFuturePasswordField#Password

Defined in:
ext/ctp/ctp.cxx

#Password(*args) ⇒ Object



167518
167519
167520
167521
167522
167523
167524
167525
167526
167527
167528
167529
167530
167531
167532
167533
167534
167535
167536
167537
167538
167539
167540
167541
167542
167543
167544
167545
# File 'ext/ctp/ctp.cxx', line 167518

SWIGINTERN VALUE
_wrap_CThostFtdcVerifyFuturePasswordField_Password_get(int argc, VALUE *argv, VALUE self) {
  CThostFtdcVerifyFuturePasswordField *arg1 = (CThostFtdcVerifyFuturePasswordField *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  char *result = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcVerifyFuturePasswordField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcVerifyFuturePasswordField *","Password", 1, self )); 
  }
  arg1 = reinterpret_cast< CThostFtdcVerifyFuturePasswordField * >(argp1);
  result = (char *) ((arg1)->Password);
  {
    size_t size = SWIG_strnlen(result, 41);
    
    
    
    vresult = SWIG_FromCharPtrAndSize(result, size);
  }
  return vresult;
fail:
  return Qnil;
}