summaryrefslogtreecommitdiffstats
path: root/wscript_build.py
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-01-01 22:56:57 +0100
committerwm4 <wm4@nowhere>2015-01-01 22:56:57 +0100
commit9aa1d711479d4892e7f3c528dd48aad91f8a63de (patch)
treeacbbbf0bb13327c228e308f41257be5dfbfb85f7 /wscript_build.py
parent0e9d19cd052e8d1086f4588d8e2d6ab4c1bb4ee8 (diff)
downloadmpv-9aa1d711479d4892e7f3c528dd48aad91f8a63de.tar.bz2
mpv-9aa1d711479d4892e7f3c528dd48aad91f8a63de.tar.xz
DOCS/client_api_examples: don't throw char* in C++ code
C++ is the worst language ever, and allows throwing any type, even if it doesn't make sense. In this case, we were throwing char*, which the runtime typically treats as opaque, instead of printing it as message if such an exception was not caught.
Diffstat (limited to 'wscript_build.py')
0 files changed, 0 insertions, 0 deletions