Sign in
cos
/
mirrors
/
cros
/
chromiumos
/
third_party
/
coreboot
/
e9d87534ccacb42d508f1902786470798a2dbaea
/
.
/
payloads
/
libpayload
/
curses
/
pdcurses-backend
/
nc_alloc.h
blob: 95d41f9aa9059eb9906a140d1ad15df0c36e858a [
file
] [
log
] [
blame
]
#define
typeMalloc
(
type
,
elts
)
(
type
*)
malloc
((
elts
)*
sizeof
(
type
))
#define
typeCalloc
(
type
,
elts
)
(
type
*)
calloc
((
elts
),
sizeof
(
type
))
#define
typeRealloc
(
type
,
elts
,
ptr
)
(
type
*)
_nc_doalloc
(
ptr
,
(
elts
)*
sizeof
(
type
))