• Bi-Ruei, Chiu's avatar
    Fix duplicate type names generated in headers file · dcc822a0
    Bi-Ruei, Chiu authored
    For example, there are many 'enum value_PR' and 'struct value' generated if
    a class is instantiated as many instances.
    
    typedef enum value_PR {
        value_PR_NOTHING,    /* No components present */
        .....
    } value_PR;
    
    typedef struct ProtocolIE_Field_6563P5 {
        ....
        struct value {
            value_PR present;
            union value_u {
            } choice;
    
            /* Context for parsing across buffer boundaries */
            asn_struct_ctx_t _asn_ctx;
        } value;
    
        /* Context for parsing across buffer boundaries */
        asn_struct_ctx_t _asn_ctx;
    } ProtocolIE_Field_6563P5_t;
    dcc822a0
asn1c_C.c 94 KB