Module Import alias alias ImportFrom alias TryExcept body Expr NameLoad handlers ExceptHandler type NameLoad body Assign NameStore NameLoad Import alias Assign NameStore Call NameLoad AttributeLoad NameLoad attr ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad NameLoad NameLoad FunctionDef arguments args defaults vararg body Return Call NameLoad NameLoad decorator_list Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad NameLoad FunctionDef arguments args NameParam NameParam defaults body Return BinOpAdd NameLoad NameLoad decorator_list Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Num Num Num Expr Call AttributeLoad NameLoad attr Call NameLoad Num Num Num Expr Call AttributeLoad NameLoad attr Call NameLoad Num Num Num Num Num Num Num If BoolOpAnd UnaryOpNot CompareIs NameLoad NameLoad CompareNotEq AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Num Num Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Return BinOpAdd BinOpAdd BinOpAdd NameLoad NameLoad NameLoad NameLoad decorator_list Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad ClassDef bases NameLoad body Assign NameStore ListLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad decorator_list Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Num Num Num Num Assign NameStore AttributeLoad NameLoad attr Delete NameDel Delete NameDel Expr Call AttributeLoad NameLoad attr Call NameLoad Num Num Num Num Num decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam defaults body If UnaryOpNot NameLoad body Raise Call NameLoad Return NameLoad decorator_list Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Str Str Str Expr Call AttributeLoad NameLoad attr Call NameLoad Str Str NameLoad Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore BinOpAdd Call NameLoad NameLoad Num Return Call BinOpMult NameLoad NameLoad NameLoad decorator_list Assign NameStore Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str NameLoad decorator_list decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr
N/A N/A os unittest ctypes * N/A N/A N/A WINFUNCTYPE N/A N/A N/A NameError N/A N/A WINFUNCTYPE CFUNCTYPE N/A _ctypes_test N/A lib N/A CDLL N/A _ctypes_test __file__ CFuncPtrTestCase N/A N/A unittest TestCase N/A test_basic N/A N/A self N/A N/A N/A X N/A WINFUNCTYPE c_int c_int c_int func N/A N/A N/A args N/A N/A N/A len args N/A N/A x N/A X func N/A N/A N/A self assertEqual N/A x restype c_int N/A N/A N/A self assertEqual N/A x argtypes N/A c_int c_int N/A N/A N/A self assertEqual N/A sizeof x N/A sizeof c_voidp N/A N/A N/A self assertEqual N/A sizeof X N/A sizeof c_voidp N/A test_first N/A N/A self N/A N/A N/A StdCallback N/A WINFUNCTYPE c_int c_int c_int N/A CdeclCallback N/A CFUNCTYPE c_int c_int c_int func N/A N/A a b N/A N/A N/A N/A a b N/A N/A s N/A StdCallback func N/A c N/A CdeclCallback func N/A N/A N/A self assertEqual N/A s 1 2 3 N/A N/A N/A self assertEqual N/A c 1 2 3 N/A N/A N/A self assertEqual N/A c 1 2 3 4 5 6 3 N/A N/A N/A N/A WINFUNCTYPE CFUNCTYPE N/A N/A os name ce N/A N/A N/A N/A self assertRaises TypeError s 1 2 3 N/A test_structures N/A N/A self N/A N/A N/A WNDPROC N/A WINFUNCTYPE c_long c_int c_int c_int c_int wndproc N/A N/A hwnd msg wParam lParam N/A N/A N/A N/A N/A N/A hwnd msg wParam lParam N/A N/A HINSTANCE c_int N/A HICON c_int N/A HCURSOR c_int N/A LPCTSTR c_char_p WNDCLASS N/A Structure N/A N/A _fields_ N/A N/A style c_uint N/A lpfnWndProc WNDPROC N/A cbClsExtra c_int N/A cbWndExtra c_int N/A hInstance HINSTANCE N/A hIcon HICON N/A hCursor HCURSOR N/A lpszMenuName LPCTSTR N/A lpszClassName LPCTSTR N/A N/A wndclass N/A WNDCLASS N/A N/A wndclass lpfnWndProc N/A WNDPROC wndproc N/A WNDPROC_2 N/A WINFUNCTYPE c_long c_int c_int c_int c_int N/A N/A N/A self assertIs WNDPROC WNDPROC_2 N/A N/A N/A self assertEqual N/A N/A wndclass lpfnWndProc 1 2 3 4 10 N/A f N/A wndclass lpfnWndProc N/A wndclass N/A wndproc N/A N/A N/A self assertEqual N/A f 10 11 12 13 46 N/A test_dllfunctions N/A N/A self N/A N/A NoNullHandle N/A N/A value N/A N/A N/A N/A value N/A N/A N/A WinError N/A value N/A N/A strchr N/A lib my_strchr N/A N/A strchr restype c_char_p N/A N/A strchr argtypes N/A c_char_p c_char N/A N/A N/A self assertEqual N/A strchr abcdefghi b bcdefghi N/A N/A N/A self assertEqual N/A strchr abcdefghi x None N/A strtok N/A lib my_strtok N/A N/A strtok restype c_char_p c_string N/A N/A init N/A N/A N/A size N/A N/A len init 1 N/A N/A N/A c_char size init N/A N/A s a
b
c N/A b N/A c_string s N/A N/A N/A self assertEqual N/A strtok b a N/A N/A N/A self assertEqual N/A strtok None b N/A N/A N/A self assertEqual N/A strtok None c N/A N/A N/A self assertEqual N/A strtok None None N/A N/A N/A N/A __name__ __main__ N/A N/A N/A N/A unittest main