From 9cc0c4a504a48157d0e8e573b39ab23643ad0f6d Mon Sep 17 00:00:00 2001 From: blueloveTH Date: Tue, 19 Dec 2023 14:18:34 +0800 Subject: [PATCH] some fix --- include/pocketpy/codeobject.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/pocketpy/codeobject.h b/include/pocketpy/codeobject.h index 3f75fda2..a136f635 100644 --- a/include/pocketpy/codeobject.h +++ b/include/pocketpy/codeobject.h @@ -128,8 +128,8 @@ struct FuncDecl { PyObject* value; // default value }; CodeObject_ code; // code object of this function - pod_vector args; // indices in co->varnames - pod_vector kwargs; // indices in co->varnames + std::vector args; // indices in co->varnames + std::vector kwargs; // indices in co->varnames int starred_arg; // index in co->varnames, -1 if no *arg int starred_kwarg; // index in co->varnames, -1 if no **kwarg bool nested; // whether this function is nested