]> sigrok.org Git - libsigrokdecode.git/commit
decode.c: Simplify the import code.
authorUwe Hermann <redacted>
Thu, 27 Jan 2011 22:12:34 +0000 (23:12 +0100)
committerUwe Hermann <redacted>
Thu, 27 Jan 2011 22:12:34 +0000 (23:12 +0100)
commitc7bb5dff3a5259ce7e59db7932580173462b00a1
tree044bf66b7686ab750bf1883ec91f0139e2ad6ecd
parentf7313eeaf3b64fafa792a225a2b70c745e8d5cc6
decode.c: Simplify the import code.

Use PyImport_ImportModule() instead of PyImport_Import(), so we don't
have to temporarily create a py_name object.
decode.c