From 9162e84ae60937d3dbace2cadbda6021036ba3e8 Mon Sep 17 00:00:00 2001 From: blueloveTH Date: Wed, 31 Jul 2024 11:54:22 +0800 Subject: [PATCH] ... --- include/pocketpy/pocketpy.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/pocketpy/pocketpy.h b/include/pocketpy/pocketpy.h index 056f287d..4e965510 100644 --- a/include/pocketpy/pocketpy.h +++ b/include/pocketpy/pocketpy.h @@ -154,7 +154,7 @@ py_GlobalRef py_tpobject(py_Type type); /// Get the type name. const char* py_tpname(py_Type type); /// Call a type to create a new instance. -bool py_tpcall(py_Type type, int argc, py_Ref argv); +bool py_tpcall(py_Type type, int argc, py_Ref argv) PY_RAISE; /// Find the magic method from the given type only. py_GlobalRef py_tpmagic(py_Type type, py_Name name);