On Fri, Jun 23, 2017 at 06:05:34PM +0300, Victor Krapivensky wrote:
[...]
> --- /dev/null
> +++ b/ffi.h
> @@ -0,0 +1,18 @@
> +#ifndef STRACE_FFI_H
> +#define STRACE_FFI_H
> +
> +#define FFI_STRINGIFY(...) #__VA_ARGS__
[...]
> --- /dev/null
> +++ b/luajit_lib.h
> @@ -0,0 +1,224 @@
> +#define STRINGIFY(...) #__VA_ARGS__
> +#define STRVAL(...)    STRINGIFY(__VA_ARGS__)
[...]
> --- a/mpers_type.h
> +++ b/mpers_type.h
> @@ -31,8 +31,8 @@
>  #define STRACE_MPERS_TYPE_H
>  
>  #ifdef IN_MPERS
> -# define STRINGIFY(a) #a
> -# define DEF_MPERS_TYPE(args) STRINGIFY(args.h)
> +# define MPERS_STRINGIFY(a) #a

The patch renames one stringify macro and introduces two more temporary
stringify macros.  If this doesn't signal that we need a strace-wide
stringify macro, then I don't know what does.


-- 
ldv

Attachment: signature.asc
Description: PGP signature

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Strace-devel mailing list
Strace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/strace-devel

Reply via email to