Skip to content

cmc_collection base data type #41

@LeoVen

Description

@LeoVen
struct cmc_collection {
    enum cmc_collection_type type; // DEQUE, HASHMAP, LIST, STACK, etc
    const char *key_type;
    const char *val_type;
};

A cmc_collection is the common interface to all data structures so that you can differentiate them when storing them on void pointers

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions