A few comment fixes for nsc.[ch] file.[ch]
This commit is contained in:
parent
03a2c61de4
commit
6e4772b175
3 changed files with 6 additions and 5 deletions
|
@ -61,6 +61,7 @@ struct empfile {
|
||||||
/* User callbacks, may all be null */
|
/* User callbacks, may all be null */
|
||||||
/*
|
/*
|
||||||
* Called after element initialization. ELT is the element.
|
* Called after element initialization. ELT is the element.
|
||||||
|
* May modify the element.
|
||||||
*/
|
*/
|
||||||
void (*oninit)(void *elt);
|
void (*oninit)(void *elt);
|
||||||
/*
|
/*
|
||||||
|
@ -107,7 +108,7 @@ struct emptypedstr {
|
||||||
#define EFF_XY bit(1)
|
#define EFF_XY bit(1)
|
||||||
#define EFF_OWNER bit(2)
|
#define EFF_OWNER bit(2)
|
||||||
#define EFF_GROUP bit(3)
|
#define EFF_GROUP bit(3)
|
||||||
/* Table is allocated statically */
|
/* Table cache is allocated statically */
|
||||||
#define EFF_STATIC bit(4)
|
#define EFF_STATIC bit(4)
|
||||||
/* Table has a sentinel (all zero, not counted as elt), implies EFF_MEM */
|
/* Table has a sentinel (all zero, not counted as elt), implies EFF_MEM */
|
||||||
#define EFF_SENTINEL bit(5)
|
#define EFF_SENTINEL bit(5)
|
||||||
|
|
|
@ -207,12 +207,12 @@ enum {
|
||||||
* ca_len is zero), or an array of ca_len elements of that type.
|
* ca_len is zero), or an array of ca_len elements of that type.
|
||||||
* If ca_get is not null, the selector is virtual. Values can be
|
* If ca_get is not null, the selector is virtual. Values can be
|
||||||
* obtained by calling ca_get(VAL, NP, CTXO), where VAL has been
|
* obtained by calling ca_get(VAL, NP, CTXO), where VAL has been
|
||||||
* initialized my from the selector and an index by nstr_mksymval(),
|
* initialized from the selector and an index by nstr_mksymval(),
|
||||||
* NP points to the country to use for coordinate translation and
|
* NP points to the country to use for coordinate translation and
|
||||||
* access control (null for none), and CTXO is the context object.
|
* access control (null for none), and CTXO is the context object.
|
||||||
* See struct valstr for details.
|
* See struct valstr for details.
|
||||||
* Because virtual selectors don't have a setter method, xundump must
|
* Because virtual selectors don't have a setter method, xundump must
|
||||||
* be made to ignore them, e.g. by setting NSC_EXTRA.
|
* be made to ignore them, by setting NSC_EXTRA.
|
||||||
* If flag NSC_DEITY is set, only to deities can use this selector.
|
* If flag NSC_DEITY is set, only to deities can use this selector.
|
||||||
* If flag NSC_EXTRA is set, xdump and xundump ignore this selector.
|
* If flag NSC_EXTRA is set, xdump and xundump ignore this selector.
|
||||||
* If flag NSC_CONST is set, the datum can't be changed from its
|
* If flag NSC_CONST is set, the datum can't be changed from its
|
||||||
|
|
|
@ -246,7 +246,7 @@ ef_open_view(int type, int base)
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Close the file-backed table TYPE (EF_SECTOR, ...).
|
* Close the open table TYPE (EF_SECTOR, ...).
|
||||||
* Return non-zero on success, zero on failure.
|
* Return non-zero on success, zero on failure.
|
||||||
*/
|
*/
|
||||||
int
|
int
|
||||||
|
@ -715,7 +715,7 @@ ef_extend(int type, int count)
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Initialize element ID for EP in BUF.
|
* Initialize element ID for table TYPE in BUF.
|
||||||
* FIXME pass buffer size!
|
* FIXME pass buffer size!
|
||||||
* BUF is marked fresh with ef_mark_fresh().
|
* BUF is marked fresh with ef_mark_fresh().
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue