*** empty log message ***
authorMatthew Mondor <mmondor@pulsar-zone.net>
Tue, 3 Oct 2006 19:42:24 +0000 (19:42 +0000)
committerMatthew Mondor <mmondor@pulsar-zone.net>
Tue, 3 Oct 2006 19:42:24 +0000 (19:42 +0000)
mmsoftware/js/classes/js_pgsql.c

index 3b6cd5e..8aa746e 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: js_pgsql.c,v 1.3 2006/10/03 19:12:01 mmondor Exp $ */
+/* $Id: js_pgsql.c,v 1.4 2006/10/03 19:42:24 mmondor Exp $ */
 
 /*
  * Copyright (c) 2006, Matthew Mondor
@@ -24,7 +24,6 @@
  * - Compare to PHP library to verify if missing any nice functions ideas
  * - See what to do about the following functions:
  *   - PQgetssl() (returns an SSL object!)
- *   - PQprint() (writes to a supplied FILE *) XXX
  */
 
 
@@ -647,6 +646,7 @@ static void
 pg_finalize(JSContext *cx, JSObject *obj)
 {
 
+       /* XXX This never gets called since PG is uninstanciable. */
        if (root_object != NULL)
                (void) JS_RemoveRoot(cx, &root_object); /* Ptr to ptr */
 }