summaryrefslogtreecommitdiffstats
path: root/ta/ta.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2020-04-26 23:38:54 +0200
committerwm4 <wm4@nowhere>2020-04-26 23:38:54 +0200
commit027ae815ec3a726a5138c04fb6e4296c5f6aee39 (patch)
tree355fb48ede5d58da62412936e72cb607a4e64bdf /ta/ta.h
parent729843b85e876a4c49662a97b01d6ac2106a9ea9 (diff)
downloadmpv-027ae815ec3a726a5138c04fb6e4296c5f6aee39.tar.bz2
mpv-027ae815ec3a726a5138c04fb6e4296c5f6aee39.tar.xz
ta: add ta_get_parent()
Sometimes useful for debugging. Also fix a random typo elsewhere.
Diffstat (limited to 'ta/ta.h')
-rw-r--r--ta/ta.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ta/ta.h b/ta/ta.h
index 2af4747533..4baac8fb40 100644
--- a/ta/ta.h
+++ b/ta/ta.h
@@ -52,6 +52,7 @@ void ta_free(void *ptr);
void ta_free_children(void *ptr);
void ta_set_destructor(void *ptr, void (*destructor)(void *));
void ta_set_parent(void *ptr, void *ta_parent);
+void *ta_get_parent(void *ptr);
// Utility functions
size_t ta_calc_array_size(size_t element_size, size_t count);