Revision 1248 trunk/src/df1b2-separable/adpool.h

adpool.h (revision 1248)
57 57
  static int num_adpools;
58 58
  int adpool_vector_flag;
59 59
public:
60
  adpool(void);
61
  adpool(unsigned);
62
 ~adpool();
63

  
60 64
  int depth_check(void);
61 65
  int nvar;
62 66
  int& on_adpool_vector(void) {return adpool_vector_flag;}
......
65 69
  int num_allocated;
66 70
  int num_chunks;
67 71
  int nelem;
68
  unsigned size;
69
  link * head;
70
  double * first;
72
  unsigned int size;
73
  link* head;
74
  double* first;
71 75
  adpool(adpool&);  // copy protection
72
  void operator = (adpool&); // copy protection
76
  void operator=(adpool&); // copy protection
73 77
  void grow(void);
74 78
#if defined(__CHECK_MEMORY__)
75 79
  int maxchunks;
......
80 84
#endif
81 85
public:
82 86
  void clean(void);
83
  adpool(unsigned);
84 87
  void set_size(unsigned);
85
  adpool(void);
86
 ~adpool();
87
  void * alloc(void);
88
  void free(void * b);
88
  void* alloc(void);
89
  void free(void* b);
89 90
  void deallocate(void);
90 91
#if defined(__CHECK_MEMORY__)
91 92
  int bad(link * p);

Also available in: Unified diff