[Doxygen-users] Documenting a typedef gives "not documented" warning.
                
                Brought to you by:
                
                    dimitri
                    
                
            
            
        
        
        
    | 
      
      
      From: roger <ro...@be...> - 2023-09-09 14:44:55
      
     | 
| Apologies my previous post should have looked like this
I am going round in circles on this.
I have a very simple typedef that looks like this.
/** @struct st_melody
  *
  * @var melody_t::note_on
  * Is note on (0 = OFF  1 = ON).
  * @var melody_t::channel
  * Midi channel number.
  * @var melody_t::note
  * Midi note number.
  * @var melody_t::duration
  * Time to wait (ms) until next note action.
*/
typedef struct st_melody {
     char note_on;
     char channel;
     char note;
     int duration;
} melody_t;
I have tried this with both "@struct st_melody" and "@struct melody_t" 
and various other combination of @struct and @typedef. I always get this 
warning.
warning: Compound st_melody is not documented.
What am I doing wrong?
I am using doxygen 1.9.1.
Any help gratefully received.
Roger
 |