diff options
author | wm4 <wm4@nowhere> | 2018-01-18 10:08:48 +0100 |
---|---|---|
committer | Kevin Mitchell <kevmitch@gmail.com> | 2018-01-18 01:42:36 -0800 |
commit | 6827901230a962ef40fbc18c6ab25d4d702b95aa (patch) | |
tree | 1c56f01ae57c3f1490bd3f79ed25daaafba15f43 /ta/ta_talloc.h | |
parent | 4d87c700e007d6fbff1d742c0e6e6700451172e2 (diff) | |
download | mpv-6827901230a962ef40fbc18c6ab25d4d702b95aa.tar.bz2 mpv-6827901230a962ef40fbc18c6ab25d4d702b95aa.tar.xz |
ta: introduce talloc_dup() and use it in some places
It was actually already implemented as ta_dup_ptrtype(), but that seems
like a clunky name. Also we still use the talloc_ names throughout the
source, and I'd rather use an old name instead of a mixing inconsistent
naming conventions.
Diffstat (limited to 'ta/ta_talloc.h')
-rw-r--r-- | ta/ta_talloc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ta/ta_talloc.h b/ta/ta_talloc.h index 9ebedd94fd..bde25bc013 100644 --- a/ta/ta_talloc.h +++ b/ta/ta_talloc.h @@ -45,6 +45,7 @@ #define talloc_get_size ta_get_size #define talloc_free_children ta_free_children #define talloc_free ta_free +#define talloc_dup ta_xdup #define talloc_memdup ta_xmemdup #define talloc_strdup ta_xstrdup #define talloc_strndup ta_xstrndup |