From: Koichi KAMICHI Date: Wed, 5 Apr 2006 08:24:57 +0000 (+0000) Subject: Prepare diff file. X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=3e8cea799f52793162cede19690c7434f16a41ec;p=chise%2Fkage.git Prepare diff file. --- diff --git a/tools/chise_wrap.cxx.diff b/tools/chise_wrap.cxx.diff new file mode 100644 index 0000000..3f4897f --- /dev/null +++ b/tools/chise_wrap.cxx.diff @@ -0,0 +1,36 @@ +*** chise_wrap.cxx.old 2006-04-05 17:18:47.437069040 +0900 +--- chise_wrap.cxx 2006-04-05 17:12:10.969341296 +0900 +*************** +*** 1,3 **** +--- 1,5 ---- ++ #include ++ + /* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 1.3.24 +*************** +*** 1123,1133 **** + SWIG_croak("Usage: CHISE_DS_open(type,location,subtype,modemask);"); + } + { +! CHISE_DS_Type * argp; +! if (SWIG_ConvertPtr(ST(0),(void **) &argp, SWIGTYPE_p_CONCORD_Backend_Type,0) < 0) { +! SWIG_croak("Type error in argument 1 of CHISE_DS_open. Expected _p_CONCORD_Backend_Type"); +! } +! arg1 = *argp; + } + { + if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_unsigned_char,0) < 0) { +--- 1125,1136 ---- + SWIG_croak("Usage: CHISE_DS_open(type,location,subtype,modemask);"); + } + { +! //CHISE_DS_Type * argp; +! //if (SWIG_ConvertPtr(ST(0),(void **) &argp, SWIGTYPE_p_CONCORD_Backend_Type,0) < 0) { +! //SWIG_croak("Type error in argument 1 of CHISE_DS_open. Expected _p_CONCORD_Backend_Type"); +! //} +! //arg1 = *argp; +! arg1 = CHISE_DS_Berkeley_DB; + } + { + if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_unsigned_char,0) < 0) {