projects
/
coreboot.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
libpayload: Add PDCurses and ncurses' libform/libmenu
[coreboot.git]
/
payloads
/
libpayload
/
curses
/
pdcurses-backend
/
nc_alloc.h
1
#define typeMalloc(type,elts) (type *)malloc((elts)*sizeof(type))
2
#define typeCalloc(type,elts) (type *)calloc((elts),sizeof(type))
3
#define typeRealloc(type,elts,ptr) (type *)_nc_doalloc(ptr, (elts)*sizeof(type))
4