blueloveTH пре 1 година
родитељ
комит
a2c0bddf79
1 измењених фајлова са 1 додато и 1 уклоњено
  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.
 /// Import a module.
 /// The result will be set to `py_retval()`.
 /// The result will be set to `py_retval()`.
 /// -1: error, 0: not found, 1: success
 /// -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 *************/
 /************* Errors *************/