(*args: P.args, **kwargs: P.kwargs)
| 81 | |
| 82 | @wraps(func) |
| 83 | def wrapped(*args: P.args, **kwargs: P.kwargs): |
| 84 | hints, actual = _make_func_params(func, args, kwargs) |
| 85 | |
| 86 | for param, hint in hints.items(): |
| 87 | if get_origin(hint) is not Annotated: |
| 88 | continue |
| 89 | |
| 90 | hint_arg = get_args(hint)[1] |
| 91 | |
| 92 | if (hint_arg is Pointer) or (get_origin(hint_arg) is Pointer): |
| 93 | actual[param] = to_ptr(actual[param]) |
| 94 | |
| 95 | return func(**actual) # type: ignore |
| 96 | |
| 97 | return wrapped |
| 98 |
nothing calls this directly
no test coverage detected