home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
InfoMagic Source Code 1993 July
/
THE_SOURCE_CODE_CD_ROM.iso
/
gnu
/
lucid
/
lemacs-19.6
/
src
/
connmemory.h
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1992-06-29
|
227 b
|
11 lines
/*
* Just a cast-free interface to xmalloc
*/
#ifndef Lisp_Type
#include "lisp.h"
#endif
#define new(type, n) ((type*) xmalloc(sizeof(type) * n))
#define grow(type, ptr, n) ((type*) xrealloc((long*) ptr, sizeof(type) * n))