mirror of
https://github.com/radareorg/radare2.git
synced 2025-01-05 20:50:06 +00:00
ba0fcc1d03
* Add perl backend bindings for swig/ * Add minimal (one test) test suite for py/pl --HG-- rename : swig/t.py => swig/test/python/num.py
11 lines
217 B
Bash
Executable File
11 lines
217 B
Bash
Executable File
#!/bin/sh
|
|
LNG=$1
|
|
MOD=$2
|
|
if [ -z "${MOD}" ]; then
|
|
echo "Usage: ./libr-swig.sh [python] [r_foo]"
|
|
exit 1
|
|
fi
|
|
mkdir -p ${LNG}
|
|
cd ${LNG}
|
|
valaswig-cc ${LNG} ${MOD} -I../../libr/include ../../libr/vapi/${MOD}.vapi -l${MOD}
|