[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 2/3] Factor out common audio module stuff into a macro
From: |
Trevor Saunders |
Subject: |
[PATCH 2/3] Factor out common audio module stuff into a macro |
Date: |
Wed, 25 Jul 2012 00:41:26 -0400 |
> +#define SPD_AUDIO_PLUGIN(modname) \
> + spd_audio_plugin_t * modname##_plugin_get(void) { return
> &modname##_functions; }\
> + spd_audio_plugin_t * SPD_AUDIO_PLUGIN_ENTRY (void) __attribute__
> ((weak, alias(#modname "_plugin_get")));
I wonder if we can come up with a name that makes it clearer what this
macro is for, maybe REGISTER_AUDIO_PLUGIN()? or
GET_AUDIO_PLUGIN_VTABLE()?
Trev
> +
> +#endif
> --
> 1.7.7.5 (Apple Git-26)
>
>
> _______________________________________________
> Speechd mailing list
> Speechd at lists.freebsoft.org
> http://lists.freebsoft.org/mailman/listinfo/speechd
[PATCH 1/3] Remove references to TEMP_FAILURE_RETRY, Trevor Saunders, 2012/07/25
[PATCH v2 0/3] Portability improvements, Boris Dušek, 2012/07/29