python: Avoid unnecessary pointer object creations
Use ctypes.byref() instead of ctypes.pointer() in cases where we do not need the actual pointer object itself as it is much lighter.
Showing
Please register or sign in to comment
Use ctypes.byref() instead of ctypes.pointer() in cases where we do not need the actual pointer object itself as it is much lighter.