Explorar o código

fix doc according to https://github.com/pocketpy/pocketpy/pull/366

blueloveTH hai 9 meses
pai
achega
b0c1fe5b13
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      include/pocketpy/pocketpy.h

+ 2 - 1
include/pocketpy/pocketpy.h

@@ -90,7 +90,8 @@ enum py_CompileMode { EXEC_MODE, EVAL_MODE, SINGLE_MODE };
 
 /// Initialize pocketpy and the default VM.
 PK_API void py_initialize();
-/// Finalize pocketpy and free all VMs.
+/// Finalize pocketpy and free all VMs. This opearation is irreversible.
+/// After this call, you cannot use any function from this header anymore.
 PK_API void py_finalize();
 /// Get the current VM index.
 PK_API int py_currentvm();