pymhf.extensions.ctypes module#
- class pymhf.extensions.ctypes.c_char_p32#
Bases:
c_ulongThis is a thin wrapper around the uint32 type because python has issues having char* <-> c_char_p as the function argument type and then accessing the value. This class avoids the issue by casting the underlying integer value to a
ctypes.c_char_pand getting the value of this.
- class pymhf.extensions.ctypes.c_char_p64#
Bases:
c_ulonglongThis is a thin wrapper around the uint64 type because python has issues having char* <-> c_char_p as the function argument type and then accessing the value. This class avoids the issue by casting the underlying integer value to a
ctypes.c_char_pand getting the value of this.
- class pymhf.extensions.ctypes.c_enum16#
-
c_int16 wrapper for enums. This doesn’t have the full set of features an enum would normally have, but just enough to make it useful.