diff options
author | alex <alex@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-10-06 07:40:52 +0000 |
---|---|---|
committer | alex <alex@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-10-06 07:40:52 +0000 |
commit | d95eaa86e437e331702d2f8d214331e324c5c547 (patch) | |
tree | dd14294ce5412abf50c886f8104ef76691a80840 | |
parent | 2b22f4ad176cc51b9b2799bef7adaccbc586ed1c (diff) | |
download | ATCD-d95eaa86e437e331702d2f8d214331e324c5c547.tar.gz |
Integrated Binary Search generation methods.
-rw-r--r-- | apps/gperf/src/Key_List.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/gperf/src/Key_List.h b/apps/gperf/src/Key_List.h index d6da13425d0..bcf3faa5966 100644 --- a/apps/gperf/src/Key_List.h +++ b/apps/gperf/src/Key_List.h @@ -65,6 +65,7 @@ public: int max_key_length (void); void reorder (void); void sort (void); + void string_sort (void); int read_keys (void); int output (void); @@ -94,6 +95,7 @@ private: void output_keylength_table (void); void output_hash_function (void); void output_lookup_function (void); + int output_binary_search_function(void); int output_lookup_array (void); void output_strcasecmp (void); int output_types (void); @@ -139,6 +141,9 @@ private: int hash_sort; // True if sorting by hash value. + int key_sort; + // True if sorting by key value. + int additional_code; // True if any additional C code is included. |