~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Brian Aker
  • Date: 2010-09-22 22:25:29 UTC
  • mto: (1791.1.1 drizzle)
  • mto: This revision was merged to the branch mainline in revision 1792.
  • Revision ID: brian@tangent.org-20100922222529-geo4wggmu5ntqa5k
Current boost work (more conversion).

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
12
12
 
13
13
You should have received a copy of the GNU General Public License along with
14
 
this program; if not, write to the Free Software Foundation, Inc., 51 Franklin
15
 
St, Fifth Floor, Boston, MA 02110-1301 USA
 
14
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
 
15
Place, Suite 330, Boston, MA 02111-1307 USA
16
16
 
17
17
*****************************************************************************/
18
18
 
114
114
        ulint   n);     /*!< in: try to allocate this many bytes */
115
115
#endif /* !UNIV_HOTBACKUP */
116
116
/**********************************************************************//**
117
 
Frees a memory block allocated with ut_malloc. Freeing a NULL pointer is
118
 
a nop. */
 
117
Frees a memory block allocated with ut_malloc. */
119
118
UNIV_INTERN
120
119
void
121
120
ut_free(
122
121
/*====*/
123
 
        void* ptr);  /*!< in, own: memory block, can be NULL */
 
122
        void* ptr);  /*!< in, own: memory block */
124
123
#ifndef UNIV_HOTBACKUP
125
124
/**********************************************************************//**
126
125
Implements realloc. This is needed by /pars/lexyy.c. Otherwise, you should not