Skip to content
Snippets Groups Projects
Commit 9453746b authored by Nick Mathewson's avatar Nick Mathewson :game_die:
Browse files

dispatch_naming.c: when COCCI is defined, disable unparseable macros.

parent 04a74d4a
Branches
Tags
No related merge requests found
......@@ -33,6 +33,7 @@ dispatch_naming_init(void)
{
}
#ifndef COCCI
/* Helper macro: declare functions to map IDs to and from names for a given
* type in a namemap_t.
*/
......@@ -56,6 +57,7 @@ dispatch_naming_init(void)
return namemap_get_size(&type##_id_map); \
} \
EAT_SEMICOLON
#endif
DECLARE_ID_MAP_FNS(message);
DECLARE_ID_MAP_FNS(channel);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment