~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/my_tree.h

  • Committer: Brian Aker
  • Date: 2008-08-10 22:14:13 UTC
  • Revision ID: brian@tangent.org-20080810221413-ablfnyr3wgu6fjaw
ulong conversion. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
51
51
  TREE_ELEMENT *root,null_element;
52
52
  TREE_ELEMENT **parents[MAX_TREE_HEIGHT];
53
53
  uint offset_to_key,elements_in_tree,size_of_element;
54
 
  ulong memory_limit, allocated;
 
54
  uint32_t memory_limit, allocated;
55
55
  qsort_cmp2 compare;
56
56
  void *custom_arg;
57
57
  MEM_ROOT mem_root;
61
61
} TREE;
62
62
 
63
63
        /* Functions on whole tree */
64
 
void init_tree(TREE *tree, ulong default_alloc_size, ulong memory_limit,
 
64
void init_tree(TREE *tree, uint32_t default_alloc_size, uint32_t memory_limit,
65
65
               int size, qsort_cmp2 compare, bool with_delete,
66
66
               tree_element_free free_element, void *custom_arg);
67
67
void delete_tree(TREE*);