Skip to content
  • Kenneth Moreland's avatar
    Enable reinterpreting `UnknownArrayHandle` to compatible C types · 97324e75
    Kenneth Moreland authored
    The base C types have several "duplicate" types that the compiler
    considers different even though the byte representation is the same. For
    example, `char` and `signed char` have the same meaning but are treated
    as different types. Likewise, 'long', 'int', and 'long long' are all
    different types even though 'long' is the same as either 'int' or 'long
    long'.
    
    When pulling extracted components from `UnknownArrayHandle`, there is
    little value for creating multiple code paths for types like `char` and
    `signed char`. Instead, allow implicit conversion among these types.
    97324e75