diff options
| author | Tyge Løvset <[email protected]> | 2020-10-01 23:10:31 +0200 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2020-10-01 23:10:31 +0200 |
| commit | bd9178a0ad5626544d6a70e8438680bb21db97b0 (patch) | |
| tree | 39b0d0fa3f5f3cf362a55bc4f0ba122f947ce498 /examples/inits.c | |
| parent | 3da6d61e02be7b65209cba64d1a7f53b1ef509d8 (diff) | |
| download | STC-modified-bd9178a0ad5626544d6a70e8438680bb21db97b0.tar.gz STC-modified-bd9178a0ad5626544d6a70e8438680bb21db97b0.zip | |
Renamed cpqueue build() to make_heap()
Diffstat (limited to 'examples/inits.c')
| -rw-r--r-- | examples/inits.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/inits.c b/examples/inits.c index 26a05a51..ea4c61bc 100644 --- a/examples/inits.c +++ b/examples/inits.c @@ -31,7 +31,7 @@ int main(void) // CVEC PRIORITY QUEUE
- cpqueue_f_build(&floats); // make heap
+ cpqueue_f_make_heap(&floats);
c_push_items(&floats, cpqueue_f, {40.0f, 20.0f, 50.0f, 30.0f, 10.0f});
// sorted:
|
