~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mystrings/decimal.h

  • Committer: Brian Aker
  • Date: 2009-02-12 22:45:08 UTC
  • Revision ID: brian@tangent.org-20090212224508-mrd9jwgn1zjdpqdk
Minor refactoring (we will need to disconnect the code from the include
file).

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