Class: Ctp::CThostFtdcDepositResultInformField
- Inherits:
-
Object
- Object
- Ctp::CThostFtdcDepositResultInformField
- Defined in:
- ext/ctp/ctp.cxx
Instance Method Summary collapse
- #BrokerID(*args) ⇒ Object
- #BrokerID=(*args) ⇒ Object
- #Deposit(*args) ⇒ Object
- #Deposit=(*args) ⇒ Object
- #DepositSeqNo(*args) ⇒ Object
- #DepositSeqNo=(*args) ⇒ Object
- #DescrInfoForReturnCode(*args) ⇒ Object
- #DescrInfoForReturnCode=(*args) ⇒ Object
- #initialize(*args) ⇒ Object constructor
- #InvestorID(*args) ⇒ Object
- #InvestorID=(*args) ⇒ Object
- #RequestID(*args) ⇒ Object
- #RequestID=(*args) ⇒ Object
- #ReturnCode(*args) ⇒ Object
- #ReturnCode=(*args) ⇒ Object
Constructor Details
#initialize(*args) ⇒ Object
169004 169005 169006 169007 169008 169009 169010 169011 169012 169013 169014 169015 169016 169017 |
# File 'ext/ctp/ctp.cxx', line 169004
SWIGINTERN VALUE
_wrap_new_CThostFtdcDepositResultInformField(int argc, VALUE *argv, VALUE self) {
const char *classname SWIGUNUSED = "Ctp::CThostFtdcDepositResultInformField";
CThostFtdcDepositResultInformField *result = 0 ;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
result = (CThostFtdcDepositResultInformField *)new CThostFtdcDepositResultInformField();
DATA_PTR(self) = result;
return self;
fail:
return Qnil;
}
|
Instance Method Details
#BrokerID(*args) ⇒ Object
168673 168674 168675 168676 168677 168678 168679 168680 168681 168682 168683 168684 168685 168686 168687 168688 168689 168690 168691 168692 168693 168694 168695 168696 168697 168698 168699 168700 |
# File 'ext/ctp/ctp.cxx', line 168673
SWIGINTERN VALUE
_wrap_CThostFtdcDepositResultInformField_BrokerID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcDepositResultInformField *arg1 = (CThostFtdcDepositResultInformField *) 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_CThostFtdcDepositResultInformField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcDepositResultInformField *","BrokerID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcDepositResultInformField * >(argp1);
result = (char *) ((arg1)->BrokerID);
{
size_t size = SWIG_strnlen(result, 11);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#BrokerID=(*args) ⇒ Object
168643 168644 168645 168646 168647 168648 168649 168650 168651 168652 168653 168654 168655 168656 168657 168658 168659 168660 168661 168662 168663 168664 168665 168666 168667 168668 168669 168670 |
# File 'ext/ctp/ctp.cxx', line 168643
SWIGINTERN VALUE
_wrap_CThostFtdcDepositResultInformField_BrokerID_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcDepositResultInformField *arg1 = (CThostFtdcDepositResultInformField *) 0 ;
char *arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
char temp2[11] ;
int res2 ;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcDepositResultInformField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcDepositResultInformField *","BrokerID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcDepositResultInformField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 11);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [11]","BrokerID", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->BrokerID,arg2,11*sizeof(char));
else memset(arg1->BrokerID,0,11*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#Deposit(*args) ⇒ Object
168792 168793 168794 168795 168796 168797 168798 168799 168800 168801 168802 168803 168804 168805 168806 168807 168808 168809 168810 168811 168812 168813 |
# File 'ext/ctp/ctp.cxx', line 168792
SWIGINTERN VALUE
_wrap_CThostFtdcDepositResultInformField_Deposit_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcDepositResultInformField *arg1 = (CThostFtdcDepositResultInformField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
TThostFtdcMoneyType result;
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_CThostFtdcDepositResultInformField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcDepositResultInformField *","Deposit", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcDepositResultInformField * >(argp1);
result = (TThostFtdcMoneyType) ((arg1)->Deposit);
vresult = SWIG_From_double(static_cast< double >(result));
return vresult;
fail:
return Qnil;
}
|
#Deposit=(*args) ⇒ Object
168763 168764 168765 168766 168767 168768 168769 168770 168771 168772 168773 168774 168775 168776 168777 168778 168779 168780 168781 168782 168783 168784 168785 168786 168787 168788 168789 |
# File 'ext/ctp/ctp.cxx', line 168763
SWIGINTERN VALUE
_wrap_CThostFtdcDepositResultInformField_Deposit_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcDepositResultInformField *arg1 = (CThostFtdcDepositResultInformField *) 0 ;
TThostFtdcMoneyType arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcDepositResultInformField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcDepositResultInformField *","Deposit", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcDepositResultInformField * >(argp1);
ecode2 = SWIG_AsVal_double(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "TThostFtdcMoneyType","Deposit", 2, argv[0] ));
}
arg2 = static_cast< TThostFtdcMoneyType >(val2);
if (arg1) (arg1)->Deposit = arg2;
return Qnil;
fail:
return Qnil;
}
|
#DepositSeqNo(*args) ⇒ Object
168613 168614 168615 168616 168617 168618 168619 168620 168621 168622 168623 168624 168625 168626 168627 168628 168629 168630 168631 168632 168633 168634 168635 168636 168637 168638 168639 168640 |
# File 'ext/ctp/ctp.cxx', line 168613
SWIGINTERN VALUE
_wrap_CThostFtdcDepositResultInformField_DepositSeqNo_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcDepositResultInformField *arg1 = (CThostFtdcDepositResultInformField *) 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_CThostFtdcDepositResultInformField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcDepositResultInformField *","DepositSeqNo", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcDepositResultInformField * >(argp1);
result = (char *) ((arg1)->DepositSeqNo);
{
size_t size = SWIG_strnlen(result, 15);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#DepositSeqNo=(*args) ⇒ Object
168583 168584 168585 168586 168587 168588 168589 168590 168591 168592 168593 168594 168595 168596 168597 168598 168599 168600 168601 168602 168603 168604 168605 168606 168607 168608 168609 168610 |
# File 'ext/ctp/ctp.cxx', line 168583
SWIGINTERN VALUE
_wrap_CThostFtdcDepositResultInformField_DepositSeqNo_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcDepositResultInformField *arg1 = (CThostFtdcDepositResultInformField *) 0 ;
char *arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
char temp2[15] ;
int res2 ;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcDepositResultInformField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcDepositResultInformField *","DepositSeqNo", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcDepositResultInformField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 15);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [15]","DepositSeqNo", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->DepositSeqNo,arg2,15*sizeof(char));
else memset(arg1->DepositSeqNo,0,15*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#DescrInfoForReturnCode(*args) ⇒ Object
168959 168960 168961 168962 168963 168964 168965 168966 168967 168968 168969 168970 168971 168972 168973 168974 168975 168976 168977 168978 168979 168980 168981 168982 168983 168984 168985 168986 |
# File 'ext/ctp/ctp.cxx', line 168959
SWIGINTERN VALUE
_wrap_CThostFtdcDepositResultInformField_DescrInfoForReturnCode_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcDepositResultInformField *arg1 = (CThostFtdcDepositResultInformField *) 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_CThostFtdcDepositResultInformField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcDepositResultInformField *","DescrInfoForReturnCode", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcDepositResultInformField * >(argp1);
result = (char *) ((arg1)->DescrInfoForReturnCode);
{
size_t size = SWIG_strnlen(result, 129);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#DescrInfoForReturnCode=(*args) ⇒ Object
168929 168930 168931 168932 168933 168934 168935 168936 168937 168938 168939 168940 168941 168942 168943 168944 168945 168946 168947 168948 168949 168950 168951 168952 168953 168954 168955 168956 |
# File 'ext/ctp/ctp.cxx', line 168929
SWIGINTERN VALUE
_wrap_CThostFtdcDepositResultInformField_DescrInfoForReturnCode_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcDepositResultInformField *arg1 = (CThostFtdcDepositResultInformField *) 0 ;
char *arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
char temp2[129] ;
int res2 ;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcDepositResultInformField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcDepositResultInformField *","DescrInfoForReturnCode", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcDepositResultInformField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 129);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [129]","DescrInfoForReturnCode", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->DescrInfoForReturnCode,arg2,129*sizeof(char));
else memset(arg1->DescrInfoForReturnCode,0,129*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#InvestorID(*args) ⇒ Object
168733 168734 168735 168736 168737 168738 168739 168740 168741 168742 168743 168744 168745 168746 168747 168748 168749 168750 168751 168752 168753 168754 168755 168756 168757 168758 168759 168760 |
# File 'ext/ctp/ctp.cxx', line 168733
SWIGINTERN VALUE
_wrap_CThostFtdcDepositResultInformField_InvestorID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcDepositResultInformField *arg1 = (CThostFtdcDepositResultInformField *) 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_CThostFtdcDepositResultInformField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcDepositResultInformField *","InvestorID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcDepositResultInformField * >(argp1);
result = (char *) ((arg1)->InvestorID);
{
size_t size = SWIG_strnlen(result, 13);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#InvestorID=(*args) ⇒ Object
168703 168704 168705 168706 168707 168708 168709 168710 168711 168712 168713 168714 168715 168716 168717 168718 168719 168720 168721 168722 168723 168724 168725 168726 168727 168728 168729 168730 |
# File 'ext/ctp/ctp.cxx', line 168703
SWIGINTERN VALUE
_wrap_CThostFtdcDepositResultInformField_InvestorID_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcDepositResultInformField *arg1 = (CThostFtdcDepositResultInformField *) 0 ;
char *arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
char temp2[13] ;
int res2 ;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcDepositResultInformField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcDepositResultInformField *","InvestorID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcDepositResultInformField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 13);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [13]","InvestorID", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->InvestorID,arg2,13*sizeof(char));
else memset(arg1->InvestorID,0,13*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#RequestID(*args) ⇒ Object
168845 168846 168847 168848 168849 168850 168851 168852 168853 168854 168855 168856 168857 168858 168859 168860 168861 168862 168863 168864 168865 168866 |
# File 'ext/ctp/ctp.cxx', line 168845
SWIGINTERN VALUE
_wrap_CThostFtdcDepositResultInformField_RequestID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcDepositResultInformField *arg1 = (CThostFtdcDepositResultInformField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
TThostFtdcRequestIDType result;
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_CThostFtdcDepositResultInformField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcDepositResultInformField *","RequestID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcDepositResultInformField * >(argp1);
result = (TThostFtdcRequestIDType) ((arg1)->RequestID);
vresult = SWIG_From_int(static_cast< int >(result));
return vresult;
fail:
return Qnil;
}
|
#RequestID=(*args) ⇒ Object
168816 168817 168818 168819 168820 168821 168822 168823 168824 168825 168826 168827 168828 168829 168830 168831 168832 168833 168834 168835 168836 168837 168838 168839 168840 168841 168842 |
# File 'ext/ctp/ctp.cxx', line 168816
SWIGINTERN VALUE
_wrap_CThostFtdcDepositResultInformField_RequestID_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcDepositResultInformField *arg1 = (CThostFtdcDepositResultInformField *) 0 ;
TThostFtdcRequestIDType arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
int val2 ;
int ecode2 = 0 ;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcDepositResultInformField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcDepositResultInformField *","RequestID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcDepositResultInformField * >(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "TThostFtdcRequestIDType","RequestID", 2, argv[0] ));
}
arg2 = static_cast< TThostFtdcRequestIDType >(val2);
if (arg1) (arg1)->RequestID = arg2;
return Qnil;
fail:
return Qnil;
}
|
#ReturnCode(*args) ⇒ Object
168899 168900 168901 168902 168903 168904 168905 168906 168907 168908 168909 168910 168911 168912 168913 168914 168915 168916 168917 168918 168919 168920 168921 168922 168923 168924 168925 168926 |
# File 'ext/ctp/ctp.cxx', line 168899
SWIGINTERN VALUE
_wrap_CThostFtdcDepositResultInformField_ReturnCode_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcDepositResultInformField *arg1 = (CThostFtdcDepositResultInformField *) 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_CThostFtdcDepositResultInformField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcDepositResultInformField *","ReturnCode", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcDepositResultInformField * >(argp1);
result = (char *) ((arg1)->ReturnCode);
{
size_t size = SWIG_strnlen(result, 7);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#ReturnCode=(*args) ⇒ Object
168869 168870 168871 168872 168873 168874 168875 168876 168877 168878 168879 168880 168881 168882 168883 168884 168885 168886 168887 168888 168889 168890 168891 168892 168893 168894 168895 168896 |
# File 'ext/ctp/ctp.cxx', line 168869
SWIGINTERN VALUE
_wrap_CThostFtdcDepositResultInformField_ReturnCode_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcDepositResultInformField *arg1 = (CThostFtdcDepositResultInformField *) 0 ;
char *arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
char temp2[7] ;
int res2 ;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcDepositResultInformField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcDepositResultInformField *","ReturnCode", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcDepositResultInformField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 7);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [7]","ReturnCode", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->ReturnCode,arg2,7*sizeof(char));
else memset(arg1->ReturnCode,0,7*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|