Prepare diff file.
authorKoichi KAMICHI <kamichi@fonts.jp>
Wed, 5 Apr 2006 08:24:57 +0000 (08:24 +0000)
committerKoichi KAMICHI <kamichi@fonts.jp>
Wed, 5 Apr 2006 08:24:57 +0000 (08:24 +0000)
tools/chise_wrap.cxx.diff [new file with mode: 0644]

diff --git a/tools/chise_wrap.cxx.diff b/tools/chise_wrap.cxx.diff
new file mode 100644 (file)
index 0000000..3f4897f
--- /dev/null
@@ -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 <chise.h>
++ 
+  /* ----------------------------------------------------------------------------
+   * 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) {