Fix comments added in commit bf436a44
.
This commit is contained in:
parent
e31ba545af
commit
0bcd0a8422
1 changed files with 9 additions and 8 deletions
|
@ -61,17 +61,18 @@ struct empfile {
|
||||||
|
|
||||||
/* User callbacks, may all be null */
|
/* User callbacks, may all be null */
|
||||||
/*
|
/*
|
||||||
* Called after read, with file type and element as arguments.
|
* Called after read. ID is the element id, and ELT is the
|
||||||
* May modify the element. Modifications are visible to caller of
|
* element read. May modify the element. Modifications are
|
||||||
* ef_read(), but have no effect on the file.
|
* visible to caller of ef_read(), but have no effect on the file.
|
||||||
*/
|
*/
|
||||||
void (*postread)(int, void *);
|
void (*postread)(int id, void *elt);
|
||||||
/*
|
/*
|
||||||
* Called before write, with file type and element as arguments.
|
* Called before write. ID is the element id, and ELT is the
|
||||||
* May modify the element. Modifications will be visible to
|
* element being written. May modify the element. Modifications
|
||||||
* caller of ef_write() and are written to the file.
|
* will be visible to caller of ef_write() and are written to the
|
||||||
|
* file.
|
||||||
*/
|
*/
|
||||||
void (*prewrite)(int, void *);
|
void (*prewrite)(int id, void *elt);
|
||||||
};
|
};
|
||||||
|
|
||||||
struct emptypedstr {
|
struct emptypedstr {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue