diff options
author | Robin Gareus <robin@gareus.org> | 2016-03-20 20:52:12 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-03-20 20:54:36 +0100 |
commit | 6972db0d554ba36d05fbd0ada5e303148cbab2bf (patch) | |
tree | 5c0ae4e5c9495fae4a77f1b43de6a192d367bea7 /gtk2_ardour/arluadoc | |
parent | 618ef9f9230a4ef497a6c0c003f26fa4fbc351fa (diff) |
add luadoc binary (developer tool) to dump lua bindings
output is either JSON or lua-tables.
enable via ./waf configure --luadoc ... , needs C++11
Diffstat (limited to 'gtk2_ardour/arluadoc')
-rwxr-xr-x | gtk2_ardour/arluadoc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gtk2_ardour/arluadoc b/gtk2_ardour/arluadoc new file mode 100755 index 0000000000..2983cf9103 --- /dev/null +++ b/gtk2_ardour/arluadoc @@ -0,0 +1,9 @@ +#!/bin/sh +TOP=`dirname "$0"`/.. +. $TOP/build/gtk2_ardour/ardev_common_waf.sh +export UBUNTU_MENUPROXY="" + +$TOP/build/gtk2_ardour/luadoc "$@" \ + | sed 's/__cxx11:://g;' \ + | sed 's/std::basic_string<char, std::char_traits<char>\, std::allocator<char> >/std::string/g;' \ + | sed 's/, std::allocator<[^>]*> //g;' |