Skip to content

Commit

Permalink
use PyAPI_FUNC when defining new c-api
Browse files Browse the repository at this point in the history
  • Loading branch information
czardoz committed Oct 27, 2023
1 parent c6cf583 commit ff5f1e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Python/perf_trampoline.c
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ compile_trampoline(void)
return code_arena_new_code(perf_code_arena);
}

int PyUnstable_PerfTrampoline_CompileCode(PyCodeObject *co)
PyAPI_FUNC(int) PyUnstable_PerfTrampoline_CompileCode(PyCodeObject *co)
{
#ifdef PY_HAVE_PERF_TRAMPOLINE
py_trampoline f = NULL;
Expand Down

0 comments on commit ff5f1e4

Please sign in to comment.