~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/heap/heap.h

  • Committer: Monty Taylor
  • Date: 2008-12-16 02:39:00 UTC
  • mto: (685.1.38 devel) (713.1.1 devel)
  • mto: This revision was merged to the branch mainline in revision 713.
  • Revision ID: monty@inaugust.com-20081216023900-w498thzxq8lkk7a5
Turned off stdinc - and then fixed the carnage.

Show diffs side-by-side

added added

removed removed

Lines of Context:
266
266
   pointer to rows where a long instead of a (unsigned char*).
267
267
*/
268
268
 
269
 
#if defined(WANT_OLD_HEAP_VERSION) || defined(OLD_HEAP_VERSION)
270
 
extern int heap_rrnd_old(HP_INFO *info,unsigned char *buf,uint32_t pos);
271
 
extern uint32_t heap_position_old(HP_INFO *info);
272
 
#endif
273
 
#ifdef OLD_HEAP_VERSION
274
 
typedef uint32_t HEAP_PTR;
275
 
#define heap_position(A) heap_position_old(A)
276
 
#define heap_rrnd(A,B,C) heap_rrnd_old(A,B,C)
277
 
#else
278
269
typedef unsigned char *HEAP_PTR;
279
 
#endif
280
270
 
281
271
#ifdef  __cplusplus
282
272
}