|
7 | 7 | from ._utils import force_set_attr |
8 | 8 | from .api_bindings import * |
9 | 9 | from .base_pointers import ( |
10 | | - BaseAllocatedPointer, BaseCPointer, BaseObjectPointer, BasePointer, |
11 | | - BasicPointer, Dereferencable, IterDereferencable, Sized, Typed |
| 10 | + BaseAllocatedPointer, |
| 11 | + BaseCPointer, |
| 12 | + BaseObjectPointer, |
| 13 | + BasePointer, |
| 14 | + BasicPointer, |
| 15 | + Dereferencable, |
| 16 | + IterDereferencable, |
| 17 | + Sized, |
| 18 | + Typed, |
12 | 19 | ) |
13 | 20 | from .bindings import * |
14 | 21 | from .c_pointer import ( |
15 | | - TypedCPointer, VoidPointer, array, cast, to_c_ptr, to_func_ptr, |
16 | | - to_struct_ptr, to_voidp |
| 22 | + TypedCPointer, |
| 23 | + VoidPointer, |
| 24 | + array, |
| 25 | + cast, |
| 26 | + to_c_ptr, |
| 27 | + to_func_ptr, |
| 28 | + to_struct_ptr, |
| 29 | + to_voidp, |
17 | 30 | ) |
18 | 31 | from .calloc import AllocatedArrayPointer, calloc |
19 | 32 | from .custom_binding import binding, binds |
20 | 33 | from .decay import decay, decay_annotated, decay_wrapped |
21 | 34 | from .exceptions import ( |
22 | | - AllocationError, DereferenceError, FreedMemoryError, |
23 | | - InvalidBindingParameter, InvalidSizeError, NullPointerError, |
24 | | - SegmentViolation |
| 35 | + AllocationError, |
| 36 | + DereferenceError, |
| 37 | + FreedMemoryError, |
| 38 | + InvalidBindingParameter, |
| 39 | + InvalidSizeError, |
| 40 | + NullPointerError, |
| 41 | + SegmentViolation, |
25 | 42 | ) |
26 | 43 | from .magic import _ |
27 | 44 | from .malloc import AllocatedPointer, free, malloc, realloc |
28 | 45 | from .object_pointer import Pointer, to_ptr |
29 | | -from .stack_pointer import ( |
30 | | - StackAllocatedPointer, acquire_stack_alloc, stack_alloc |
31 | | -) |
| 46 | +from .stack_pointer import StackAllocatedPointer, acquire_stack_alloc, stack_alloc |
32 | 47 | from .std_structs import DivT, Lconv, LDivT, Tm |
33 | 48 | from .structure import Struct, StructPointer |
34 | 49 | from .util import NULL, Nullable, handle, raw_type, struct_cast |
|
0 commit comments