Skip to content

Commit bad0992

Browse files
committed
[GR-33558] Make global defined in header external.
PullRequest: graalpython/1948
2 parents 16763c4 + 12acb4f commit bad0992

File tree

1 file changed

+1
-1
lines changed
  • graalpython/com.oracle.graal.python.cext/src

1 file changed

+1
-1
lines changed

graalpython/com.oracle.graal.python.cext/src/capi.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ int PyTruffle_Trace_Memory() {
132132
}
133133

134134
/* upcall functions for calling into Python */
135-
void*(*pytruffle_decorate_function)(void *fun0, void* fun1);
135+
extern void*(*pytruffle_decorate_function)(void *fun0, void* fun1);
136136
extern PyObject*(*PY_TRUFFLE_LANDING_BORROWED)(void *rcv, void* name, ...);
137137
extern PyObject*(*PY_TRUFFLE_LANDING_NEWREF)(void *rcv, void* name, ...);
138138
extern void*(*PY_TRUFFLE_LANDING_L)(void *rcv, void* name, ...);

0 commit comments

Comments
 (0)