Bug 1674736 - [talos] Import Structure and pointer directly from ctypes; r=perftest-reviewers,Gijs,sparky

Differential Revision: https://phabricator.services.mozilla.com/D95603
This commit is contained in:
Geoff Brown 2020-11-03 13:46:42 +00:00
Родитель a929a223c5
Коммит 7df7df7e85
1 изменённых файлов: 10 добавлений и 3 удалений

Просмотреть файл

@ -5,7 +5,16 @@ from __future__ import absolute_import
import six
import struct
from ctypes import byref, create_string_buffer, memmove, Union, c_double, c_longlong
from ctypes import (
byref,
create_string_buffer,
memmove,
Union,
c_double,
c_longlong,
pointer,
Structure,
)
from ctypes import windll
from ctypes.wintypes import (
DWORD,
@ -13,8 +22,6 @@ from ctypes.wintypes import (
LPSTR,
LPCSTR,
LPCWSTR,
Structure,
pointer,
LONG,
)