X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=doc%2Fodr.xml;h=db28c6cfbc0c8b279c42aae37dccfabe2b8464f1;hp=de0b3ca4955cf6bb9cf911247ab509364df8636b;hb=3227202c561b3189378cba8318c7610aeae1421a;hpb=3d18b35078096b9fd1feb8e2d6fd7e9e48755ad5 diff --git a/doc/odr.xml b/doc/odr.xml index de0b3ca..db28c6c 100644 --- a/doc/odr.xml +++ b/doc/odr.xml @@ -1,4 +1,4 @@ - + The ODR Module Introduction @@ -926,10 +926,10 @@ MySequence ::= [10] IMPLICIT SEQUENCE { - int odr_constructed_begin(ODR o, void *p, int class, int tag, - const char *name); +int odr_constructed_begin(ODR o, void *p, int class, int tag, + const char *name); - int odr_constructed_end(ODR o); +int odr_constructed_end(ODR o); @@ -1045,8 +1045,8 @@ int myArray(ODR o, MyArray **p, int optional, const char *name) - int odr_choice(ODR o, Odr_arm arm[], void *p, void *whichp, - const char *name); +int odr_choice(ODR o, Odr_arm arm[], void *p, void *whichp, + const char *name); @@ -1173,10 +1173,9 @@ int myChoice(ODR o, MyChoice **p, int optional, const char *name) In some cases (say, a non-optional choice which is a member of a sequence), you can "embed" the union and its discriminator in the -structure - belonging to the enclosing type, and you won't need to fiddle with - memory allocation to create a separate structure to wrap the - discriminator and union. + structure belonging to the enclosing type, and you won't need to + fiddle with memory allocation to create a separate structure to + wrap the discriminator and union. @@ -1199,7 +1198,7 @@ structure - void odr_choice_bias(ODR o, int what); +void odr_choice_bias(ODR o, int what);