summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2022-04-13 17:23:01 -0700
committerVito Caputo <vcaputo@pengaru.com>2022-04-13 17:23:01 -0700
commit2c01f07385db88fa92f3a3789457c68db0d7d49e (patch)
tree5dc15819a66258a2082a60981b41cccf8c16554d /src
parenta1b51f453411543a175a61106297c18e0f35d2c1 (diff)
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.
Diffstat (limited to 'src')
-rw-r--r--src/til_fb.c9
1 files changed, 9 insertions, 0 deletions
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)
{
© All Rights Reserved