[PATCH 0/8] python: rework callback and extending functionality

Thomas Graf tgraf at suug.ch
Thu Sep 5 11:46:18 EDT 2013


On 09/05/13 at 02:11pm, Arend van Spriel wrote:
> The previous submitted callback code in swig allocated memory that was
> never released (oops, sorry). The callback code has been reworked. Also
> figured out how to call a instance method of a python class so that is
> in this series as well.
> 
> The commit 'nl_cb: store nl_cb_type in struct nl_cb' sets the member
> upon doing the callback. Preferrably, I would like to add it as a parameter
> in the callback function, but that would change the API affecting libnl
> applications.
> 
> Furthermore, this series has a few examples on how to use the Python/SWIG
> API.

Applied, thanks Arend!



More information about the libnl mailing list