zach> Move definition of 'struct target_type_s' into new 'target_type.h' 
file.

Hmm,

why would this not be in:  

        #include <openocd/_types_.h>

Or something like that, I specifically mean a file with a bunch of forward 
structure definitions, really simple - the file would not have 'structure 
contents' - only the names. 

ie: Something as little and as simple as this:

        struct foobar_s;
        typedef struct foobar_s foobar_t;

That "forward decoration types header file" would in it self be very helpful. 
"target_types.h" is no better then "target.h"

Reasoning: 90% of the time, all that is really needed/used is a *POINTER* to 
the structure.

-Duane.



_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to