From 2c01f07385db88fa92f3a3789457c68db0d7d49e Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Wed, 13 Apr 2022 17:23:01 -0700 Subject: til_fb: put back til_fb_context() accessor This was removed before, despite being left in the header by mistake. Putting back for glimmer's sake. --- src/til_fb.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src') diff --git a/src/til_fb.c b/src/til_fb.c index 3b604e4..8efa70a 100644 --- a/src/til_fb.c +++ b/src/til_fb.c @@ -381,6 +381,15 @@ void til_fb_rebuild(til_fb_t *fb) } +/* accessor for getting the ops_context */ +void * til_fb_context(til_fb_t *fb) +{ + assert(fb); + + return fb->ops_context; +} + + /* helpers for fragmenting incrementally */ int til_fb_fragment_slice_single(const til_fb_fragment_t *fragment, unsigned n_fragments, unsigned number, til_fb_fragment_t *res_fragment) { -- cgit v1.2.3