You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucy.apache.org by ma...@apache.org on 2006/10/16 07:34:00 UTC

svn commit: r464382 - /lucene/lucy/trunk/charmonizer/README

Author: marvin
Date: Sun Oct 15 22:33:59 2006
New Revision: 464382

URL: http://svn.apache.org/viewvc?view=rev&rev=464382
Log:
Update code sample to use init/teardown.

Modified:
    lucene/lucy/trunk/charmonizer/README

Modified: lucene/lucy/trunk/charmonizer/README
URL: http://svn.apache.org/viewvc/lucene/lucy/trunk/charmonizer/README?view=diff&rev=464382&r1=464381&r2=464382
==============================================================================
--- lucene/lucy/trunk/charmonizer/README (original)
+++ lucene/lucy/trunk/charmonizer/README Sun Oct 15 22:33:59 2006
@@ -18,11 +18,15 @@
         printf(config_fh, "/* Auto-generated file - do not edit!! */\n\n");
         
         /* set up Charmonizer */
+        chaz_init();
         chaz_set_compiler("gcc");
         
         /* run desired Charmonizer modules */
         chaz_Integers_run(config_fh);
         chaz_LargeFiles_run(config_fh);
+
+        /* tear down Charmonizer */
+        chaz_clean_up();
 
         return 0;
     }