summaryrefslogtreecommitdiffstats
path: root/player/scripting.c
Commit message (Collapse)AuthorAgeFilesLines
* Add more constwm42014-06-111-1/+1
| | | | | | | While I'm not very fond of "const", it's important for declarations (it decides whether a symbol is emitted in a read-only or read/write section). Fix all these cases, so we have writeable global data only when we really need.
* client API: rename mpv_destroy() to mpv_detach_destroy()wm42014-06-071-1/+1
| | | | | | 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.
* lua: make warning about unknown scripts -v onlywm42014-06-041-1/+1
|
* player: reorganize how lua scripts are loadedwm42014-05-131-0/+179
Make loading of scripts independent of Lua. Move some of the loading code from lua.c to scripting.c, and make it easier to add new scripting backends.