summaryrefslogtreecommitdiff
path: root/Include/internal/pycore_code.h
diff options
context:
space:
mode:
authorBrandt Bucher <brandtbucher@microsoft.com>2022-11-17 15:09:18 -0800
committerGitHub <noreply@github.com>2022-11-17 15:09:18 -0800
commitb629fdd88ac1c20439b49cbc9aa33b27cd5f6daf (patch)
treec94c9632b3c000aeba65cc019f0547ca548c8548 /Include/internal/pycore_code.h
parent8555dee5aeedb2f37ee2e2216ef8707be0fc1d9d (diff)
downloadcpython-git-b629fdd88ac1c20439b49cbc9aa33b27cd5f6daf.tar.gz
GH-99298: Clean up attribute specializations (GH-99398)
Diffstat (limited to 'Include/internal/pycore_code.h')
-rw-r--r--Include/internal/pycore_code.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Include/internal/pycore_code.h b/Include/internal/pycore_code.h
index 0af240ca36..ba36ee38d2 100644
--- a/Include/internal/pycore_code.h
+++ b/Include/internal/pycore_code.h
@@ -213,10 +213,10 @@ extern int _PyLineTable_PreviousAddressRange(PyCodeAddressRange *range);
/* Specialization functions */
-extern int _Py_Specialize_LoadAttr(PyObject *owner, _Py_CODEUNIT *instr,
- PyObject *name);
-extern int _Py_Specialize_StoreAttr(PyObject *owner, _Py_CODEUNIT *instr,
+extern void _Py_Specialize_LoadAttr(PyObject *owner, _Py_CODEUNIT *instr,
PyObject *name);
+extern void _Py_Specialize_StoreAttr(PyObject *owner, _Py_CODEUNIT *instr,
+ PyObject *name);
extern void _Py_Specialize_LoadGlobal(PyObject *globals, PyObject *builtins,
_Py_CODEUNIT *instr, PyObject *name);
extern void _Py_Specialize_BinarySubscr(PyObject *sub, PyObject *container,