blueloveTH 1 rok temu
rodzic
commit
a2c0bddf79
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      include/pocketpy/pocketpy.h

+ 1 - 1
include/pocketpy/pocketpy.h

@@ -491,7 +491,7 @@ PK_API bool py_importlib_reload(py_GlobalRef module) PY_RAISE PY_RETURN;
 /// Import a module.
 /// The result will be set to `py_retval()`.
 /// -1: error, 0: not found, 1: success
-PK_API int py_import(const char* path) PY_RAISE;
+PK_API int py_import(const char* path) PY_RAISE PY_RETURN;
 
 /************* Errors *************/