summaryrefslogtreecommitdiffhomepage
path: root/docs/cmap_api.md
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2022-11-05 20:53:55 +0100
committerTyge Løvset <[email protected]>2022-11-05 20:53:55 +0100
commitc230e4cd830de22fad2f7085d968d905dadc7418 (patch)
tree224173728e5b3bb218148166593e00a59d811119 /docs/cmap_api.md
parentf36740ba450c4c677863dd86ec94bba128aad574 (diff)
downloadSTC-modified-c230e4cd830de22fad2f7085d968d905dadc7418.tar.gz
STC-modified-c230e4cd830de22fad2f7085d968d905dadc7418.zip
Added possibility to have per container-instance customizable compare/lookup functions (cmp, less, eq, hash) for priority queue and associative containers. Is achived by embedding the container in a struct along with function pointer(s) which can be accessed through the c_container_of() macro. See the updated cpque.c example in the examples folder.
Diffstat (limited to 'docs/cmap_api.md')
0 files changed, 0 insertions, 0 deletions