~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/innobase/include/mach0data.h

  • Committer: Brian Aker
  • Date: 2008-11-03 03:49:00 UTC
  • mfrom: (520.4.50 devel)
  • Revision ID: brian@tangent.org-20081103034900-znhvcgtipr3tlel5
Merging in Monty's work

Show diffs side-by-side

added added

removed removed

Lines of Context:
65
65
/*==========*/
66
66
                        /* out: 16-bit integer in canonical format */
67
67
        ulint   n)      /* in: integer in machine-dependent format */
68
 
        __attribute__((const));
 
68
        __attribute__((__const__));
69
69
/************************************************************
70
70
The following function is used to convert a 16-bit data item
71
71
from the canonical format, for fast bytewise equality test
76
76
/*==========*/
77
77
                        /* out: integer in machine-dependent format */
78
78
        uint16  n)      /* in: 16-bit integer in canonical format */
79
 
        __attribute__((const));
 
79
        __attribute__((__const__));
80
80
/***********************************************************
81
81
The following function is used to store data in 3 consecutive
82
82
bytes. We store the most significant byte to the lowest address. */
132
132
/*=====================*/
133
133
                        /* out: compressed size in bytes */
134
134
        ulint   n)      /* in: ulint integer to be stored */
135
 
        __attribute__((const));
 
135
        __attribute__((__const__));
136
136
/*************************************************************
137
137
Reads a ulint in a compressed form. */
138
138
UNIV_INLINE
261
261
/*=================================*/
262
262
                        /* out: compressed size in bytes */
263
263
        dulint   n)      /* in: dulint integer to be stored */
264
 
        __attribute__((const));
 
264
        __attribute__((__const__));
265
265
/*************************************************************
266
266
Reads a dulint in a compressed form. */
267
267
UNIV_INLINE