]> 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 fcc56abe4303ee41b54e71c6d6249aaa60379720..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:"
@@ -27,4 +27,4 @@ ARTICLE: "alien.destructors" "Alien destructors"
 "The " { $vocab-link "alien.destructors" } " vocabulary defines a utility parsing word for defining new disposable classes."
 { $subsections POSTPONE: DESTRUCTOR: } ;
 
-ABOUT: "alien.destructors"
\ No newline at end of file
+ABOUT: "alien.destructors"