In tagmanager/src/tm_parser.c:
> +}; > + > +/* not in universal-ctags */ > +static TMParserMapEntry powershell_map[] = { > + {'f', tm_tag_function_t}, > + {'v', tm_tag_variable_t}, > +}; > + > + > +typedef struct > +{ > + TMParserMapEntry *entries; > + guint size; > +} TMParserMap; > + > +#define MAP_ENTRY(map) {map, (sizeof(map)/sizeof(TMParserMapEntry))}
could use G_N_ELEMENTS()
, couldn't it?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub