ctypes.cast()

ctypes.cast(obj, type)

This function is similar to the cast operator in C. It returns a new instance of type which points to the same memory block as obj. type must be a pointer type, and obj must be an object that can be interpreted as a pointer.

doc_python
2016-10-07 17:29:33
Comments
Leave a Comment

Please login to continue.