~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/decimal.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:
16
16
#ifndef DRIZZLED_DECIMAL_H
17
17
#define DRIZZLED_DECIMAL_H
18
18
 
19
 
#if defined(__cplusplus)
20
 
extern "C" {
21
 
#endif
 
19
namespace drizzled
 
20
{
22
21
 
23
22
typedef enum
24
23
{TRUNCATE=0, HALF_EVEN, HALF_UP, CEILING, FLOOR}
104
103
#define E_DEC_ERROR            31
105
104
#define E_DEC_FATAL_ERROR      30
106
105
 
107
 
#if defined(__cplusplus)
108
 
}
109
 
#endif
 
106
} /* namespace drizzled */
110
107
 
111
108
#endif /* DRIZZLED_DECIMAL_H */
112
109