From 0dfe69fa5dd7d4d9dded93d35106537e1ea76243 Mon Sep 17 00:00:00 2001 From: Tyge Løvset Date: Sat, 17 Apr 2021 08:02:39 +0200 Subject: Changed c_emplace_items(&cont, ctype, {...}) macro with c_emplace(ctype, cont, {...}): consistent with c_init(ctype, cont, {...}). --- docs/cpque_api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/cpque_api.md') diff --git a/docs/cpque_api.md b/docs/cpque_api.md index 261c2909..07f60709 100644 --- a/docs/cpque_api.md +++ b/docs/cpque_api.md @@ -72,7 +72,7 @@ int main() // Push ten million random numbers to priority queue, plus some negative ones. c_forrange (N) cpque_i_push(&heap, stc64_uniform(&rng, &dist)); - c_emplace_items(&heap, cpque_i, {-231, -32, -873, -4, -343}); + c_emplace(cpque_i, heap, {-231, -32, -873, -4, -343}); // Extract and display the fifty smallest. c_forrange (50) { -- cgit v1.2.3