~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/dynamic_array.h

  • Committer: Monty Taylor
  • Date: 2010-02-05 08:11:15 UTC
  • mfrom: (1283 build)
  • mto: (1273.13.43 fix_is)
  • mto: This revision was merged to the branch mainline in revision 1300.
  • Revision ID: mordred@inaugust.com-20100205081115-dr82nvrwv4lvw7sd
Merged trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
 
24
24
#include <stddef.h>
25
25
 
26
 
#ifdef __cplusplus
27
 
extern "C" {
28
 
#endif
 
26
namespace drizzled
 
27
{
29
28
 
30
29
typedef struct st_dynamic_array
31
30
{
59
58
#define reset_dynamic(array) ((array)->elements= 0)
60
59
#define sort_dynamic(A,cmp) my_qsort((A)->buffer, (A)->elements, (A)->size_of_element, (cmp))
61
60
 
62
 
#ifdef __cplusplus
63
 
}
64
 
#endif
 
61
} /* namespace drizzled */
65
62
 
66
63
#endif /* DRIZZLED_DYNAMIC_ARRAY_H */