~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

MergeĀ fromĀ trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
197
197
ut_align(
198
198
/*=====*/
199
199
                                /* out: aligned pointer */
200
 
        void*   ptr,            /* in: pointer */
 
200
        const void*     ptr,            /* in: pointer */
201
201
        ulint   align_no);      /* in: align by this number */
202
202
/*************************************************************
203
203
The following function rounds down a pointer to the nearest
207
207
ut_align_down(
208
208
/*==========*/
209
209
                                /* out: aligned pointer */
210
 
        void*   ptr,            /* in: pointer */
 
210
        const void*     ptr,            /* in: pointer */
211
211
        ulint   align_no)       /* in: align by this number */
212
212
                __attribute__((const));
213
213
/*************************************************************