Replace some typedef names by enum tags.
Also get rid of some mildly silly manual packing of enum types.
This commit is contained in:
parent
7ec0f0c0d0
commit
06a0036c63
13 changed files with 39 additions and 41 deletions
|
@ -69,10 +69,10 @@ nstr_mksymval(struct valstr *val, struct castr *ca, int idx)
|
|||
* nstr_coerce_val(VAL, WANT, STR) succeeded.
|
||||
*/
|
||||
struct valstr *
|
||||
nstr_exec_val(struct valstr *val, natid cnum, void *ptr, nsc_type want)
|
||||
nstr_exec_val(struct valstr *val, natid cnum, void *ptr, enum nsc_type want)
|
||||
{
|
||||
char *memb_ptr;
|
||||
nsc_type valtype;
|
||||
enum nsc_type valtype;
|
||||
int idx;
|
||||
struct natstr *natp;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue