From f1d4ef5e1c81e1903db257daf45b1b0b55f6c1bf Mon Sep 17 00:00:00 2001 From: blueloveTH Date: Thu, 17 Jul 2025 17:37:37 +0800 Subject: [PATCH] Update pocketpy.h --- 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 9e56fb2b..a20f9262 100644 --- a/include/pocketpy/pocketpy.h +++ b/include/pocketpy/pocketpy.h @@ -300,7 +300,7 @@ PK_API void* py_newobject(py_OutRef out, py_Type type, int slots, int udsize); /// Convert an `int` object in python to `int64_t`. PK_API py_i64 py_toint(py_Ref); -/// Convert a trivial value object in python to `int64_t`. +/// Get the address of the trivial value object. PK_API void* py_totrivial(py_Ref); /// Convert a `float` object in python to `double`. PK_API py_f64 py_tofloat(py_Ref);