~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Brian Aker
  • Date: 2010-12-24 03:44:02 UTC
  • mfrom: (2015.1.3 timestamp)
  • mto: This revision was merged to the branch mainline in revision 2028.
  • Revision ID: brian@tangent.org-20101224034402-n1hpg1yxwjz59hpw
Finish up issues with unsigned/int by fixing cast().

Show diffs side-by-side

added added

removed removed

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