~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/innobase/include/ut0rnd.h

  • Committer: lbieber at stabletransit
  • Date: 2010-10-19 14:03:27 UTC
  • mfrom: (1861.1.2 build)
  • Revision ID: lbieber@drizzle-build-n02.wc1.dfw1.stabletransit.com-20101019140327-2jvt5j2wi4pzhm1z
Merge Brian - Small collection of cleanups/refactor'ing around locks
Merge Monty - fix a few things in the tarball

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*****************************************************************************
2
2
 
3
 
Copyright (C) 1994, 2009, Innobase Oy. All Rights Reserved.
 
3
Copyright (c) 1994, 2009, Innobase Oy. All Rights Reserved.
4
4
 
5
5
This program is free software; you can redistribute it and/or modify it under
6
6
the terms of the GNU General Public License as published by the Free Software
97
97
        ulint   n2)     /*!< in: ulint */
98
98
        __attribute__((const));
99
99
/*************************************************************//**
100
 
Folds a 64-bit integer.
 
100
Folds a dulint.
101
101
@return folded value */
102
102
UNIV_INLINE
103
103
ulint
104
 
ut_fold_ull(
105
 
/*========*/
106
 
        ib_uint64_t     d)      /*!< in: 64-bit integer */
 
104
ut_fold_dulint(
 
105
/*===========*/
 
106
        dulint  d)      /*!< in: dulint */
107
107
        __attribute__((const));
108
108
/*************************************************************//**
109
109
Folds a character string ending in the null character.