comparison StoneWebViewer/WebAssembly/ParseWebAssemblyExports.py @ 1518:433cf964838d

prevents random config. names + typofix + doc
author Benjamin Golinvaux <bgo@osimis.io>
date Fri, 31 Jul 2020 12:47:27 +0200
parents fb74ed5d8c22
children
comparison
equal deleted inserted replaced
1517:307a805d0587 1518:433cf964838d
17 # 17 #
18 # You should have received a copy of the GNU Affero General Public License 18 # You should have received a copy of the GNU Affero General Public License
19 # along with this program. If not, see <http://www.gnu.org/licenses/>. 19 # along with this program. If not, see <http://www.gnu.org/licenses/>.
20 20
21 21
22 # Ubuntu 20.04:
23 # sudo apt-get install python-clang-6.0
24 # ./ParseWebAssemblyExports.py --libclang=libclang-6.0.so.1 ./Test.cpp
22 25
23 # Ubuntu 18.04: 26 # Ubuntu 18.04:
24 # sudo apt-get install python-clang-4.0 27 # sudo apt-get install python-clang-4.0
25 # ./ParseWebAssemblyExports.py --libclang=libclang-4.0.so.1 ./Test.cpp 28 # ./ParseWebAssemblyExports.py --libclang=libclang-4.0.so.1 ./Test.cpp
26
27 29
28 # Ubuntu 14.04: 30 # Ubuntu 14.04:
29 # ./ParseWebAssemblyExports.py --libclang=libclang-3.6.so.1 ./Test.cpp 31 # ./ParseWebAssemblyExports.py --libclang=libclang-3.6.so.1 ./Test.cpp
30 32
31 33
32 import sys 34 import sys
33 import clang.cindex 35 import clang.cindex
34 import pystache 36 import pystache
35 import argparse 37 import argparse
36
37
38 38
39 ## 39 ##
40 ## Parse the command-line arguments 40 ## Parse the command-line arguments
41 ## 41 ##
42 42