[libvirt PATCH v5 1/9] internal: Add CONCAT macro

Daniel P. Berrangé berrange at redhat.com
Tue Feb 1 15:48:31 UTC 2022


On Tue, Feb 01, 2022 at 02:20:09PM +0100, Tim Wiederhake wrote:
> Using the two-step idiom to force resolution of other macros, e.g.:
> 
>   #define bar BAR
>   CONCAT_(foo, bar)     // foobar
>   CONCAT(foo, bar)      // fooBAR
> 
> Signed-off-by: Tim Wiederhake <twiederh at redhat.com>
> ---
>  src/internal.h | 3 +++
>  1 file changed, 3 insertions(+)

Reviewed-by: Daniel P. Berrangé <berrange at redhat.com>


Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|




More information about the libvir-list mailing list