Thomas Haller
c1567ea637
build: merge python/Makefile.am into top-level makefile
2017-02-27 13:20:34 +01:00
Thomas Graf
2ae5298408
python: Include all files in distribution
...
Signed-off-by: Thomas Graf <tgraf@suug.ch >
2013-11-06 10:28:37 +01:00
Arend van Spriel
ae7f8cc988
python: remove use of PyArg_ParseTuple() for callback result
...
The message receive callback handler in the netlink api processes
the result object from the python callback. It used PyArg_ParseTuple()
to get the value, but this does not work as intended (see ref [1]).
Instead check the type and convert it accordingly.
refs:
[1] http://stackoverflow.com/questions/13636711/what-is-the-proper-usage-of-pyarg-parsetuple
Reported-by: Teto <mattator@gmail.com >
Signed-off-by: Arend van Spriel <arend@broadcom.com >
Signed-off-by: Thomas Graf <tgraf@suug.ch >
2013-10-07 09:45:56 +02:00
Arend van Spriel
9828326c7f
add python examples using swig provided api
...
using the nl80211 family to show use of generic netlink api and
attribute parsing.
Signed-off-by: Arend van Spriel <arend@broadcom.com >
Signed-off-by: Thomas Graf <tgraf@suug.ch >
2013-09-05 17:46:00 +02:00