Generic pseudo-templated containers for C. Written entirely in C89 with design inspired by the C++ STL. /// DOCS ARE SLIGHTLY OUTDATED, PROJECT IS STABLE AND STILL BEING DEVELOPED
They're cannot be naively assigned through = operator, so we need to add something like
GENA_COMPARE_NAIVE / GENA_COMPARE_MEMCMP / GENA_COMPARE_STRCMP,
but for assignment, say
GENA_ASSIGN_NAIVE / GENA_ASSIGN_MEMCPY / GENA_ASSIGN_STRCPY.
We also may want to add G***_INSTANTIATE_EX and so on, which will support additional argument for assignment type. That's useful because array types are such a rare and specific case, and all other types can (and should) use naive assignment.
They're cannot be naively assigned through
=
operator, so we need to add something likeGENA_COMPARE_NAIVE
/GENA_COMPARE_MEMCMP
/GENA_COMPARE_STRCMP
, but for assignment, sayGENA_ASSIGN_NAIVE
/GENA_ASSIGN_MEMCPY
/GENA_ASSIGN_STRCPY
.We also may want to add
G***_INSTANTIATE_EX
and so on, which will support additional argument for assignment type. That's useful because array types are such a rare and specific case, and all other types can (and should) use naive assignment.