From 260df0a1158385736b2da24a2e4a14e365d1ec92 Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Fri, 23 May 2025 11:06:04 +0200 Subject: lib: add remove_at to TurnOrder --- lib/src/turns-turn-order.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'lib/src/turns-turn-order.h') diff --git a/lib/src/turns-turn-order.h b/lib/src/turns-turn-order.h index a69700f..91220b9 100644 --- a/lib/src/turns-turn-order.h +++ b/lib/src/turns-turn-order.h @@ -66,6 +66,14 @@ void turns_turn_order_add(TurnsTurnOrder * self, TurnsParticipant * participant) */ void turns_turn_order_clear(TurnsTurnOrder * self); +/** + * turns_turn_order_remove_at: + * @self: a turn order + * + * Removes the participant at the given position. + */ +void turns_turn_order_remove_at(TurnsTurnOrder * self, guint position); + /** * turns_turn_order_get_participant_count: * @self: a turn order. -- cgit v1.2.3