Sha256: 125d0ed7a2a1935ba389bbb6e36c90507f35f72605214554513fa21e559cabea

Contents?: true

Size: 492 Bytes

Versions: 138

Compression:

Stored size: 492 Bytes

Contents

/*
 * debugging malloc()/realloc()/calloc()/free() that attempts
 * to keep track of just what's been allocated today.
 */
#ifndef AMALLOC_D
#define AMALLOC_D

#include "config.h"

#ifdef USE_AMALLOC

extern void *amalloc(int);
extern void *acalloc(int,int);
extern void *arealloc(void*,int);
extern void afree(void*);
extern void adump();

#define malloc	amalloc
#define	calloc	acalloc
#define realloc	arealloc
#define free	afree

#else

#define adump()	(void)1

#endif

#endif/*AMALLOC_D*/

Version data entries

138 entries across 132 versions & 18 rubygems

Version Path
rdiscountwl-1.0.0.2 ext/amalloc.h
rdiscount-2.2.7.3 ext/amalloc.h
rdiscount-2.2.7.2 ext/amalloc.h
rdiscount-2.2.7.1 ext/amalloc.h
rdiscount-2.2.7 ext/amalloc.h
rdiscountwl-1.0.0.1 ext/amalloc.h
rdiscount-2.2.0.2 ext/amalloc.h
rdiscount-2.2.0.1 ext/amalloc.h
rdiscount-2.2.0 ext/amalloc.h
rdiscount-2.1.8 ext/amalloc.h
chaptastic-rdiscount-1.4.1 ext/amalloc.h
nathanhoad-moredown-1.0.0 ext/amalloc.h
nathanhoad-moredown-1.0.1 ext/amalloc.h
nathanhoad-moredown-1.0.3 ext/amalloc.h
nathanhoad-moredown-1.0.4 ext/amalloc.h
pixeltrix-rdiscount-1.2.11 ext/amalloc.h
pixeltrix-rdiscount-1.3.4 ext/amalloc.h
rtomayko-rdiscount-1.3.1.1 ext/amalloc.h
rtomayko-rdiscount-1.3.1.2 ext/amalloc.h
rtomayko-rdiscount-1.3.4 ext/amalloc.h