NativeEnumerated.c vars NULL init and check
[com/asn1c.git] / tests / tests-asn1c-compiler / 131-per-empty-OK.asn1.-Pgen-PER
1
2 /*** <<< INCLUDES [T] >>> ***/
3
4 #include <constr_SEQUENCE.h>
5
6 /*** <<< TYPE-DECLS [T] >>> ***/
7
8 typedef struct T {
9         
10         /* Context for parsing across buffer boundaries */
11         asn_struct_ctx_t _asn_ctx;
12 } T_t;
13
14 /*** <<< FUNC-DECLS [T] >>> ***/
15
16 extern asn_TYPE_descriptor_t asn_DEF_T;
17
18 /*** <<< STAT-DEFS [T] >>> ***/
19
20 static const ber_tlv_tag_t asn_DEF_T_tags_1[] = {
21         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
22 };
23 static asn_SEQUENCE_specifics_t asn_SPC_T_specs_1 = {
24         sizeof(struct T),
25         offsetof(struct T, _asn_ctx),
26         0,      /* No top level tags */
27         0,      /* No tags in the map */
28         0, 0, 0,        /* Optional elements (not needed) */
29         -1,     /* First extension addition */
30 };
31 asn_TYPE_descriptor_t asn_DEF_T = {
32         "T",
33         "T",
34         &asn_OP_SEQUENCE,
35         asn_DEF_T_tags_1,
36         sizeof(asn_DEF_T_tags_1)
37                 /sizeof(asn_DEF_T_tags_1[0]), /* 1 */
38         asn_DEF_T_tags_1,       /* Same as above */
39         sizeof(asn_DEF_T_tags_1)
40                 /sizeof(asn_DEF_T_tags_1[0]), /* 1 */
41         { 0, 0, SEQUENCE_constraint },
42         0, 0,   /* No members */
43         &asn_SPC_T_specs_1      /* Additional specs */
44 };
45