summaryrefslogtreecommitdiffstats
path: root/ta/ta.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2020-02-23 19:48:25 +0100
committerwm4 <wm4@nowhere>2020-02-23 19:48:25 +0100
commit0ec036bfd8b82339ea65278302a3b771648d7aff (patch)
tree737802d581fddef6f8c3a75318caf98c875f2bab /ta/ta.h
parent758082a1f20c130ae3babdc7bc68abc2f4b9f8df (diff)
downloadmpv-0ec036bfd8b82339ea65278302a3b771648d7aff.tar.bz2
mpv-0ec036bfd8b82339ea65278302a3b771648d7aff.tar.xz
ta: remove two pointless wrappers
Diffstat (limited to 'ta/ta.h')
-rw-r--r--ta/ta.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/ta/ta.h b/ta/ta.h
index 340394db0f..cc98cb7c5e 100644
--- a/ta/ta.h
+++ b/ta/ta.h
@@ -125,10 +125,6 @@ bool ta_vasprintf_append_buffer(char **str, const char *fmt, va_list ap) TA_PRF(
#define ta_xnew_array_ptrtype(...) ta_oom_g(ta_new_array_ptrtype(__VA_ARGS__))
#define ta_xdup(...) ta_oom_g(ta_dup(__VA_ARGS__))
-// Cannot fail anymore.
-#define ta_xset_destructor(...) ta_set_destructor(__VA_ARGS__)
-#define ta_xset_parent(...) ta_set_parent(__VA_ARGS__)
-
#define ta_xsteal(ta_parent, ptr) (TA_TYPEOF(ptr))ta_xsteal_(ta_parent, ptr)
#define ta_xrealloc(ta_parent, ptr, type, count) \
(type *)ta_xrealloc_size(ta_parent, ptr, ta_calc_array_size(sizeof(type), count))