diff options
| author | Tyge Løvset <[email protected]> | 2022-11-05 20:53:55 +0100 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2022-11-05 20:53:55 +0100 |
| commit | c230e4cd830de22fad2f7085d968d905dadc7418 (patch) | |
| tree | 224173728e5b3bb218148166593e00a59d811119 /docs/cstack_api.md | |
| parent | f36740ba450c4c677863dd86ec94bba128aad574 (diff) | |
| download | STC-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/cstack_api.md')
0 files changed, 0 insertions, 0 deletions
