bindings: python: move tuple to int array conversion into helper function
authorKent Gibson <warthog618@gmail.com>
Sun, 1 Dec 2019 03:23:58 +0000 (11:23 +0800)
committerBartosz Golaszewski <bgolaszewski@baylibre.com>
Tue, 10 Dec 2019 13:45:32 +0000 (14:45 +0100)
commit587fd129610f28e10cf872a7802c8d88171e9369
tree895be97daeecda19ae4a07f5aab7ba4fd90cc7bd
parente7101f7e07602ea671699bfba9b67d5c94ad9b96
bindings: python: move tuple to int array conversion into helper function

Restructured gpiod_LineBulk_set_values to move the conversion of values
from Python tuple to int array into a helper function as it is useful for
similar functions.

Signed-off-by: Kent Gibson <warthog618@gmail.com>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
bindings/python/gpiodmodule.c