~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mystrings/decimal.h

  • Committer: Monty Taylor
  • Date: 2008-11-07 05:45:40 UTC
  • mto: This revision was merged to the branch mainline in revision 579.
  • Revision ID: monty@inaugust.com-20081107054540-yzvebhsofbzup6pz
Coupla little fixes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
#ifndef _decimal_h
17
17
#define _decimal_h
18
18
 
 
19
#if defined(__cplusplus)
 
20
extern "C" {
 
21
#endif
 
22
 
19
23
typedef enum
20
24
{TRUNCATE=0, HALF_EVEN, HALF_UP, CEILING, FLOOR}
21
25
  decimal_round_mode;
103
107
#define E_DEC_ERROR            31
104
108
#define E_DEC_FATAL_ERROR      30
105
109
 
 
110
#if defined(__cplusplus)
 
111
}
 
112
#endif
 
113
 
106
114
#endif
107
115