util: Factor out Python module load
authorDaniel Elstner <daniel.kitta@gmail.com>
Tue, 6 Oct 2015 20:30:14 +0000 (22:30 +0200)
committerDaniel Elstner <daniel.kitta@gmail.com>
Tue, 6 Oct 2015 21:25:40 +0000 (23:25 +0200)
commite9dd2fea0514df9316a12bae191b810811fc9f01
treed9da0d07b1c8e9076856ae5cbc8500b1502264f2
parent6d67d057d13318deb0a11de2589b5442df389092
util: Factor out Python module load

Create a utility function for loading a Python module by its name
in UTF-8.
decoder.c
exception.c
libsigrokdecode-internal.h
util.c