summaryrefslogtreecommitdiffstats
path: root/mp_core.h
diff options
context:
space:
mode:
authorwm4 <wm4@mplayer2.org>2012-01-01 17:28:01 +0100
committerwm4 <wm4@mplayer2.org>2012-01-18 04:24:38 +0100
commitf88674509e0a4f90180f26a9b8aa6879df38b056 (patch)
tree6e231b0d533c2b4fc5525b4e3bfaf800097d8cdd /mp_core.h
parentbba96eca428711fa16aac0a9af096dc65fe6701f (diff)
downloadmpv-f88674509e0a4f90180f26a9b8aa6879df38b056.tar.bz2
mpv-f88674509e0a4f90180f26a9b8aa6879df38b056.tar.xz
bstr: add some utility functions
bstr_strip_ext and bstr_get_ext were taken from find_subfiles.c. bstr_cut is extended to work like bstr_splice: passing a negative argument will start counting from the end of the string, e.g. bstr_cut("abc", -2) == "bc"
Diffstat (limited to 'mp_core.h')
0 files changed, 0 insertions, 0 deletions