зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
a929a223c5
Коммит
7df7df7e85
|
@ -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,
|
||||
)
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче