Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz
authorAdam Dickmeiss <adam@indexdata.dk>
Thu, 15 Oct 2009 11:07:36 +0000 (13:07 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Thu, 15 Oct 2009 11:07:36 +0000 (13:07 +0200)
doc/odr.xml
src/odr_bool.c
test/tstodr.c

index 0f6ac6f..230dcd1 100644 (file)
       informative operation.
      </para>
      <programlisting><![CDATA[
-void do_nothing_useful(int value)
+void do_nothing_useful(Odr_int value)
 {
     ODR encode, decode;
     Odr_int *valp, *resvalp;
index 0434183..a287aaa 100644 (file)
@@ -18,7 +18,7 @@
  * Top level boolean en/decoder.
  * Returns 1 on success, 0 on error.
  */
-int odr_bool(ODR o, Odr_int **p, int opt, const char *name)
+int odr_bool(ODR o, Odr_bool **p, int opt, const char *name)
 {
     int res, cons = 0;
 
index f2b8b3a..a16251b 100644 (file)
@@ -137,7 +137,7 @@ static void tst(void)
 }
 
 /* example from documentation.. 'Using Odr' */
-void do_nothing_useful(int value)
+void do_nothing_useful(Odr_int value)
 {
     ODR encode, decode;
     Odr_int *valp, *resvalp;