~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/my_hash.h

  • Committer: Monty Taylor
  • Date: 2010-02-04 08:14:46 UTC
  • mfrom: (1277.2.1 build) (1280.2.1 build)
  • mto: This revision was merged to the branch mainline in revision 1283.
  • Revision ID: mordred@inaugust.com-20100204081446-ldh9m486va30uap6
Put everything in drizzled into drizzled namespace.
Put internal stuff into drizzled::internal namespace.
Removed some cruft.
Now every symbol that is shipped in a header is in the drizzled namespace
and everything in the server that's not shipped is labeled internal. woot. 
Removed a lot of the extra extern "C" stuff that was in there. Less ugliness for
internal callbacks now for Sun Studio.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
#ifndef DRIZZLED_MY_HASH_H
23
23
#define DRIZZLED_MY_HASH_H
24
24
 
25
 
#ifdef __cplusplus
26
 
extern "C" {
27
 
#endif
28
 
 
29
25
#include "drizzled/dynamic_array.h"
30
26
 
 
27
namespace drizzled
 
28
{
 
29
 
31
30
typedef struct charset_info_st CHARSET_INFO;
32
31
 
33
32
/*
77
76
 
78
77
#define hash_inited(H) ((H)->array.buffer != 0)
79
78
 
80
 
#ifdef __cplusplus
81
 
}
82
 
#endif
 
79
} /* namespace drizzled */
 
80
 
83
81
#endif /* DRIZZLED_MY_HASH_H */