Dynamic container type library for C