Mark Sibly 9 gadi atpakaļ
vecāks
revīzija
09c5ab8754
1 mainītis faili ar 10 papildinājumiem un 0 dzēšanām
  1. 10 0
      modules/monkey/gc.monkey2

+ 10 - 0
modules/monkey/gc.monkey2

@@ -3,4 +3,14 @@ Namespace monkey.gc
 
 Extern
 
+#rem monkeydoc Performs a garbage collection.
+
+Marks all unused memory as 'garbage' and makes it available for reuse in the future.
+
+You should not generally need to use this method as garbage collection is performed automatically.
+
+However, it can be useful when debugging a program for memory leaks to force a garbage collection to
+run.
+
+#end
 Function GCCollect:Void()="bbGC::collect"