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 2009/12/19 06:09:02 UTC

svn commit: r892433 - in /lucene/lucy/trunk/charmonizer/src/Charmonizer: Probe.c Probe.h

Author: marvin
Date: Sat Dec 19 05:09:01 2009
New Revision: 892433

URL: http://svn.apache.org/viewvc?rev=892433&view=rev
Log:
Remove obsolete function export in Charmonizer/Probe, cleaning up API.

Modified:
    lucene/lucy/trunk/charmonizer/src/Charmonizer/Probe.c
    lucene/lucy/trunk/charmonizer/src/Charmonizer/Probe.h

Modified: lucene/lucy/trunk/charmonizer/src/Charmonizer/Probe.c
URL: http://svn.apache.org/viewvc/lucene/lucy/trunk/charmonizer/src/Charmonizer/Probe.c?rev=892433&r1=892432&r2=892433&view=diff
==============================================================================
--- lucene/lucy/trunk/charmonizer/src/Charmonizer/Probe.c (original)
+++ lucene/lucy/trunk/charmonizer/src/Charmonizer/Probe.c Sat Dec 19 05:09:01 2009
@@ -45,11 +45,6 @@
     Util_verbosity = level;
 }
 
-char*
-Probe_slurp_file(char* filepath, size_t *len_ptr) {
-    return Util_slurp_file(filepath, len_ptr);
-}
-
 FILE*
 Probe_get_charmony_fh(void)
 {

Modified: lucene/lucy/trunk/charmonizer/src/Charmonizer/Probe.h
URL: http://svn.apache.org/viewvc/lucene/lucy/trunk/charmonizer/src/Charmonizer/Probe.h?rev=892433&r1=892432&r2=892433&view=diff
==============================================================================
--- lucene/lucy/trunk/charmonizer/src/Charmonizer/Probe.h (original)
+++ lucene/lucy/trunk/charmonizer/src/Charmonizer/Probe.h Sat Dec 19 05:09:01 2009
@@ -34,11 +34,6 @@
 void
 chaz_Probe_set_verbosity(int level);
 
-/* Read an entire file into memory.
- */
-char*
-chaz_Probe_slurp_file(char* filepath, size_t *len_ptr);
-
 /* Access the FILE* used to write charmony.h, so that you can write your own
  * content to it.  Should not be called before chaz_Probe_init() or after
  * chaz_Probe_clean_up().
@@ -50,7 +45,6 @@
   #define Probe_init            chaz_Probe_init
   #define Probe_clean_up        chaz_Probe_clean_up
   #define Probe_set_verbosity   chaz_Probe_set_verbosity
-  #define Probe_slurp_file      chaz_Probe_slurp_file
 #endif
 
 #ifdef __cplusplus