I'm trying to install extended bitvectors into my SWR, and I'd like to be able to print out all the available flags currently in a flag array, so that you don't have to update the send_to_char list in build.c every time, cut down a little bit of work. This method worked fine with flag_string, I simple put for example, and it would print out the whole array. Buts since ext_flag_string is slightly different, this method doesn't work. So I though, ok, lets just set the for loop to loop the amount of elements are in the flag sting times(if its got 10 elements, loop 10 times). My question is this: Does anyone know how to determine the amount of elements in, for example, ? Or is there a better way to do this?
flag_string(-1, rflags)char * const r_flags []