Skip to content

Commit d328941

Browse files
committed
Stubs for PyThreadState_Clear and PyThreadState_DeleteCurrent
1 parent 3be7837 commit d328941

File tree

1 file changed

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

1 file changed

+7
-1
lines changed

graalpython/com.oracle.graal.python.cext/src/pystate.c

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2018, 2022, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2018, 2023, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* The Universal Permissive License (UPL), Version 1.0
@@ -55,6 +55,12 @@ PyThreadState * PyThreadState_Get() {
5555
return polyglot_invoke(PY_TRUFFLE_CEXT, "PyThreadState_Get");
5656
}
5757

58+
void PyThreadState_Clear(PyThreadState *tstate) {
59+
}
60+
61+
void PyThreadState_DeleteCurrent(void) {
62+
}
63+
5864
int64_t
5965
PyInterpreterState_GetID(PyInterpreterState *interp)
6066
{

0 commit comments

Comments
 (0)