Return the C expression for a call to `fn`'s native (CPyDef_) entry. For cross-group references under `separate=True`, this prepends the exports-table indirection (e.g. `exports_other.CPyDef_foo`). Same as `native_function_name()` for in-group calls.
(self, fn: FuncDecl)
| 394 | return f"{NATIVE_PREFIX}{fn.cname(self.names)}" |
| 395 | |
| 396 | def native_function_call(self, fn: FuncDecl) -> str: |
| 397 | """Return the C expression for a call to `fn`'s native (CPyDef_) entry. |
| 398 | |
| 399 | For cross-group references under `separate=True`, this prepends the |
| 400 | exports-table indirection (e.g. `exports_other.CPyDef_foo`). Same as |
| 401 | `native_function_name()` for in-group calls. |
| 402 | """ |
| 403 | return f"{self.get_group_prefix(fn)}{self.native_function_name(fn)}" |
| 404 | |
| 405 | def wrapper_function_call(self, fn: FuncDecl) -> str: |
| 406 | """Return the C expression for a call to `fn`'s Python-wrapper (CPyPy_) entry. |
no test coverage detected