diff website/src/manual.html.luan @ 1272:95f6540b27f9

add __gc to docs
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 12 Nov 2018 21:41:25 -0700
parents e38f5869e9df
children 623dfe0e2e73
line wrap: on
line diff
--- a/website/src/manual.html.luan	Mon Nov 12 21:19:52 2018 -0700
+++ b/website/src/manual.html.luan	Mon Nov 12 21:41:25 2018 -0700
@@ -473,6 +473,11 @@
 to do the assignment.)
 </li>
 
+<li><p><b>"gc":</b>
+This is when a table is garbage collected.  When the table's <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html#finalize()">finalize</a> method is called by the Java garbage collector, if there is a "<code>__gc</code>" metamethod then it is called with the table as a parameter.
+
+</li>
+
 </ul>