Types and constants — C types, limits and enumerations
ECL_ARRAY_RANK_LIMIT
ECL_ARRAY_DIMENSION_LIMIT
ECL_ARRAY_TOTAL_LIMIT
typedef enum { ecl_aet_object, ...} cl_elttype;
Lisp or C type | Enumeration value | Lisp or C type | Enumeration value |
t | ecl_aet_object | (unsigned-byte 1) | ecl_aet_bit |
cl_fixnum | ecl_aet_fix | cl_index | ecl_aet_index |
(unsigned-byte 8) | ecl_aet_b8 | (signed-byte 8) | ecl_aet_i8 |
(unsigned-byte 16) | ecl_aet_b16 | (signed-byte 16) | ecl_aet_i16 |
(unsigned-byte 32) | ecl_aet_b32 | (signed-byte 32) | ecl_aet_i32 |
(unsigned-byte 64) | ecl_aet_b64 | (signed-byte 64) | ecl_aet_i64 |
ecl_character | ecl_aet_ch | ecl_base_char | ecl_aet_bc |
single-float | ecl_aet_sf | double-float | ecl_aet_df |
This list contains the constants that limit the rank of an array (ECL_ARRAY_RANK_LIMIT
), the maximum size of each dimension (ECL_ARRAY_DIMENSION_LIMIT
) and the maximum number of elements in an array (ECL_ARRAY_TOTAL_LIMIT
).
ECL uses also internally a set of constants to describe the different specialized arrays. The constants form up the enumeration type cl_elttype. They are listed in the table above, which associates enumeration values with the corresponding Common Lisp element type.