asn1: don't include decoration header for void *
commitef906991fd27588881beada7200cd0849409f10d
authorLuke Howard <lukeh@padl.com>
Sat, 8 Jan 2022 06:13:56 +0000 (8 17:13 +1100)
committerNicolas Williams <nico@twosigma.com>
Tue, 11 Jan 2022 15:57:11 +0000 (11 09:57 -0600)
treebc213f99dbf6f498d34e4b0a2123375a833a0661
parentdf3e08485bd18adab1e4dd35680f28f04e9199c8
asn1: don't include decoration header for void *

If the decorated external type is a void *, don't include the decoration
header in the ASN.1 header, only in the template implementation. This allows
the copy constructor and destructor to be implementation private.
lib/asn1/gen.c
lib/asn1/gen_template.c