]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/alien/destructors/destructors-docs.factor
alien: fix docs for FUNCTION: not using a ; anymore
[factor.git] / basis / alien / destructors / destructors-docs.factor
index 82755c15dd89a478a859d657afb4675e608bf2e4..7d48631cdcce95ca83d8e5638c16ee45acf04d92 100644 (file)
@@ -14,7 +14,7 @@ HELP: DESTRUCTOR:
 { $examples
   "Suppose you are writing a binding to the GLib library, which as a " { $snippet "g_object_unref" } " function. Then you can define the function and destructor like so,"
   { $code
-    "FUNCTION: void g_object_unref ( gpointer object ) ;"
+    "FUNCTION: void g_object_unref ( gpointer object )"
     "DESTRUCTOR: g_object_unref"
   }
   "Now, memory management becomes easier:"