From 309ca67853b35f3f652686dbb52ca5182b81d0a7 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Fri, 4 Oct 2019 21:34:41 +0200 Subject: Implement which_run() --- libstorycode/narrative_priv.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'libstorycode/narrative_priv.h') diff --git a/libstorycode/narrative_priv.h b/libstorycode/narrative_priv.h index 4862455..dcf8831 100644 --- a/libstorycode/narrative_priv.h +++ b/libstorycode/narrative_priv.h @@ -97,9 +97,7 @@ struct _narrative double space_b; }; -extern int text_index_to_layout(struct narrative_item *item, int idx); - -extern int layout_index_to_text(struct narrative_item *item, int idx); +extern int which_run(struct narrative_item *item, size_t item_offs, size_t *run_offs); #endif /* NARRATIVE_PRIV_H */ -- cgit v1.2.3