New ef_blank()
It performs the same initialization as ef_extend().
This commit is contained in:
parent
a71f01585f
commit
c21c4ff9a7
2 changed files with 13 additions and 0 deletions
|
@ -468,6 +468,18 @@ ef_extend(int type, int count)
|
|||
return 1;
|
||||
}
|
||||
|
||||
/*
|
||||
* Initialize element ID for EP in BUF.
|
||||
* FIXME pass buffer size!
|
||||
*/
|
||||
void
|
||||
ef_blank(int type, int id, void *buf)
|
||||
{
|
||||
if (ef_check(type) < 0)
|
||||
return;
|
||||
do_blank(&empfile[type], buf, id, 1);
|
||||
}
|
||||
|
||||
/*
|
||||
* Initialize COUNT elements of EP in BUF, starting with element ID.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue