~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/queues.cc

  • Committer: Brian Aker
  • Date: 2008-12-02 16:33:43 UTC
  • mfrom: (632.1.19 devel)
  • Revision ID: brian@tangent.org-20081202163343-007ifg17p0lvjga7
Merge from Monty

Show diffs side-by-side

added added

removed removed

Lines of Context:
92
92
*/
93
93
 
94
94
int init_queue_ex(QUEUE *queue, uint32_t max_elements, uint32_t offset_to_key,
95
 
               bool max_at_top, int (*compare) (void *, unsigned char *, unsigned char *),
 
95
               bool max_at_top, queue_compare compare,
96
96
               void *first_cmp_arg, uint32_t auto_extent)
97
97
{
98
98
  int ret;
128
128
*/
129
129
 
130
130
int reinit_queue(QUEUE *queue, uint32_t max_elements, uint32_t offset_to_key,
131
 
                 bool max_at_top, int (*compare) (void *, unsigned char *, unsigned char *),
 
131
                 bool max_at_top, queue_compare compare,
132
132
                 void *first_cmp_arg)
133
133
{
134
134
  queue->elements=0;