Quellcode durchsuchen

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

blueloveTH vor 11 Monaten
Ursprung
Commit
b0c1fe5b13
1 geänderte Dateien mit 2 neuen und 1 gelöschten Zeilen
  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();