python: Simplify wrapping glue.
authorJustus Winter <justus@g10code.com>
Tue, 14 Jun 2016 10:37:26 +0000 (12:37 +0200)
committerJustus Winter <justus@g10code.com>
Thu, 16 Jun 2016 12:19:17 +0000 (14:19 +0200)
commit6641c7814b30e3e8f18105b2636545cc1bd07552
tree5d4eaa422fd3346dfc9c704750a536777c40fb15
parentf3618bc615e3eff1f52fb5849cbf0f0b95515a61
python: Simplify wrapping glue.

* lang/python/pyme/core.py: Rename '_getctype' to '_ctype' and turn it
  into a string.  Likewise rename '_getnameprepend' to '_cprefix'.
* lang/python/helpers.c: Adapt accordingly.

Signed-off-by: Justus Winter <justus@g10code.com>
lang/python/helpers.c
lang/python/pyme/core.py