~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/queues.cc

  • Committer: Brian Aker
  • Date: 2008-11-23 01:22:38 UTC
  • mfrom: (598.1.1 trunk)
  • Revision ID: brian@tangent.org-20081123012238-ax0w8xd30izgip5y
Merge in Monty's work for Solaris Sun Studio

Show diffs side-by-side

added added

removed removed

Lines of Context:
50
50
*/
51
51
 
52
52
int init_queue(QUEUE *queue, uint32_t max_elements, uint32_t offset_to_key,
53
 
               bool max_at_top, int (*compare) (void *, unsigned char *, unsigned char *),
 
53
               bool max_at_top, queue_compare compare,
54
54
               void *first_cmp_arg)
55
55
{
56
56
  if ((queue->root= (unsigned char **) my_malloc((max_elements+1)*sizeof(void*),