oops; not a pointer
diff --git a/doc/asn1c-usage.html b/doc/asn1c-usage.html
index 03bfd4b..106ebba 100644
--- a/doc/asn1c-usage.html
+++ b/doc/asn1c-usage.html
@@ -488,7 +488,7 @@
<BLOCKQUOTE><PRE>
Rectangle_t *rect = ...;
-asn_DEF_Rectangle->free_struct(&asn_DEF_Rectangle,
+asn_DEF_Rectangle.free_struct(&asn_DEF_Rectangle,
rect, 0);
</PRE>
</BLOCKQUOTE>
@@ -603,7 +603,7 @@
Rectangle_t *rect = 0; /* Note this 0! */
asn_dec_rval_t rval;
- rval = <B>asn_DEF_Rectangle->ber_decoder</B>(0,
+ rval = <B>asn_DEF_Rectangle.ber_decoder</B>(0,
&asn_DEF_Rectangle,
(void **)&rect,
buffer, buf_size,
@@ -613,7 +613,7 @@
return rect; /* Decoding succeeded */
} else {
/* Free partially decoded rect */
- asn_DEF_Rectangle->free_struct(
+ asn_DEF_Rectangle.free_struct(
&asn_DEF_Rectangle, rect, 0);
return 0;
}
@@ -645,7 +645,7 @@
buffer, buf_size);
</PRE>
</BLOCKQUOTE>
-Note that the initial (asn_DEF_Rectangle->ber_decoder) reference
+Note that the initial (asn_DEF_Rectangle.ber_decoder) reference
is gone, and also the last argument (0) is no longer necessary.
<P>
@@ -815,7 +815,7 @@
return rect; /* Decoding succeeded */
} else {
/* Free partially decoded rect */
- asn_DEF_Rectangle->free_struct(
+ asn_DEF_Rectangle.free_struct(
&asn_DEF_Rectangle, rect, 0);
return 0;
}
@@ -946,7 +946,7 @@
* Freeing the Rectangle_t
* without freeing the mf->rect area
*/
-asn_DEF_Rectangle->free_struct(
+asn_DEF_Rectangle.free_struct(
&asn_DEF_Rectangle, &mf->rect, <B>1</B> <B>/* !free */</B>);
@@ -956,7 +956,7 @@
* Freeing the Rectangle_t
* and freeing the rect pointer
*/
-asn_DEF_Rectangle->free_struct(
+asn_DEF_Rectangle.free_struct(
&asn_DEF_Rectangle, rect, <B>0</B> <B>/* free the pointer too */</B>);
</PRE>
</BLOCKQUOTE>
@@ -1295,7 +1295,7 @@
<FONT SIZE="-1"> </FONT>
<FONT SIZE="-1">/* ... here may go Rectangle decoding code ... */</FONT>
-<FONT SIZE="-1">ret = asn_check_constraints(asn_DEF_Rectangle,</FONT>
+<FONT SIZE="-1">ret = asn_check_constraints(&asn_DEF_Rectangle,</FONT>
<FONT SIZE="-1"> rectangle, errbuf, &errlen);</FONT>
<FONT SIZE="-1">/* assert(errlen < sizeof(errbuf)); // you may rely on that */</FONT>
<FONT SIZE="-1">if(ret) {</FONT>