Derrick Stolee [off-list ref] writes:
quoted
quoted
quoted
+int update_sparsity(struct unpack_trees_options *options);
+
This appears to not use the enum as it should.
Whoops! Will fix. (Interesting that the compiler didn't flag any
kind of warning based on mismatch of declared function return types
for update_sparsity() in the .c and .h files...)
*shrug* enums are essentially decoration over an int, so I'm not
surprised it can happen.
;-)
Yeah, the value of preferring enum over preprocessor macros because
it helps debuggers to show symbolic constants, is oversold, I think.
Types of variables and functions' return values need to be set to
the enum or the benefit won't come to us X-<.