plestylib.data.ctype_manager#

Classes#

CtypeParam

Manager for handling C types and their corresponding Python types.

Module Contents#

class plestylib.data.ctype_manager.CtypeParam(ctype_str, ptype=None, value=None)#

Manager for handling C types and their corresponding Python types.

value = None#
ctype_str#
ptype#
ctype#
get_pytype(ctype_str)#

Map a string representation of a C type to an actual ctypes type.

get_ctype(ctype_str)#

Map a string representation of a C type to an actual ctypes type.

to_pytype()#

Convert the C type value to its corresponding Python type.

to_ctype()#

Convert the Python value to its corresponding C type.

__eq__(other)#
__call__(value)#