Sign in
cos
/
mirrors
/
cros
/
chromiumos
/
third_party
/
coreboot
/
refs/heads/stabilize-14092.57.B
/
.
/
payloads
/
libpayload
/
curses
/
pdcurses-backend
/
nc_alloc.h
blob: 25b5161ec6446823ede3e0b1cdcb012d70816efb [
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
))