diff options
| author | Tyge Løvset <[email protected]> | 2021-01-02 09:14:44 +0100 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2021-01-02 09:14:44 +0100 |
| commit | 59f56b54744db309981065ccb63bbe68aff4f4ff (patch) | |
| tree | a1c43a390b0569d8605d4732123e905d0fd54700 /examples | |
| parent | 642473aa88cfdf4b4f7db1f30adf71d63c0befe6 (diff) | |
| download | STC-modified-59f56b54744db309981065ccb63bbe68aff4f4ff.tar.gz STC-modified-59f56b54744db309981065ccb63bbe68aff4f4ff.zip | |
Almost internal: Swapped toRaw(), fromRaw() template arguments in containers.
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/advanced.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/advanced.c b/examples/advanced.c index 931efb57..a79caaee 100644 --- a/examples/advanced.c +++ b/examples/advanced.c @@ -51,7 +51,7 @@ Viking viking_fromVw(VikingVw vw) { // Using the full using_cmap() macro to define [Viking -> int] hash map type: using_cmap(vk, Viking, int, c_default_del, vikingvw_equals, vikingvw_hash, - viking_del, VikingVw, viking_toVw, viking_fromVw); + viking_del, VikingVw, viking_fromVw, viking_toVw); // cmap_vk uses vikingvw_hash() for hash value calculations, and vikingvw_equals() for equality test. // cmap_vk_del() will free all memory allocated for Viking keys and the hash table values. |
