~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Brian Aker
  • Date: 2011-02-22 06:12:02 UTC
  • mfrom: (2190.1.6 drizzle-build)
  • Revision ID: brian@tangent.org-20110222061202-k03czxykqy4x9hjs
List update, header fixes, multiple symbols, and David deletes some code.

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
96
96
Allocates memory. Sets it also to zero if UNIV_SET_MEM_TO_ZERO is
97
97
defined.
98
98
@return own: allocated memory */
 
99
#ifdef __cplusplus
 
100
extern "C"
 
101
#endif
99
102
UNIV_INTERN
100
103
void*
101
104
ut_malloc(
116
119
/**********************************************************************//**
117
120
Frees a memory block allocated with ut_malloc. Freeing a NULL pointer is
118
121
a nop. */
 
122
#ifdef __cplusplus
 
123
extern "C"
 
124
#endif
119
125
UNIV_INTERN
120
126
void
121
127
ut_free(
147
153
       original  block  is  left  untouched  - it is not freed or
148
154
       moved.
149
155
@return own: pointer to new mem block or NULL */
 
156
#ifdef __cplusplus
 
157
extern "C"
 
158
#endif
150
159
UNIV_INTERN
151
160
void*
152
161
ut_realloc(