summaryrefslogtreecommitdiffstats
path: root/DOCS
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-06-07 20:25:48 +0200
committerwm4 <wm4@nowhere>2014-06-07 20:25:48 +0200
commitfca608ccb95e4167e1885483dfd30ba71007cbb4 (patch)
tree92692bcc28a9302c7f84aaeb300bca9b6e522c0e /DOCS
parent0b9468f65f6014b888cdb1c5c473569ca8d9c57f (diff)
downloadmpv-fca608ccb95e4167e1885483dfd30ba71007cbb4.tar.bz2
mpv-fca608ccb95e4167e1885483dfd30ba71007cbb4.tar.xz
client API: rename mpv_destroy() to mpv_detach_destroy()
A bit verbose, but less misleading. In most cases, the API user probably actually wants mpv_terminate_destroy() instead, so the less-useful function shouldn't have a simnpler name anyway.
Diffstat (limited to 'DOCS')
-rw-r--r--DOCS/client_api_examples/simple.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/DOCS/client_api_examples/simple.c b/DOCS/client_api_examples/simple.c
index d2c95540fe..d3a4c78c26 100644
--- a/DOCS/client_api_examples/simple.c
+++ b/DOCS/client_api_examples/simple.c
@@ -39,6 +39,6 @@ int main(int argc, char *argv[])
break;
}
- mpv_destroy(ctx);
+ mpv_terminate_destroy(ctx);
return 0;
}