On Fri, Jun 16, 2017 at 05:50:37PM +0300, Victor Krapivensky wrote: [...] > +CONTENT( > typedef struct sysent { > unsigned nargs; > int sys_flags; > int sen; > +) > +/* We don't want to expose sys_func to LuaJIT */ > +#ifdef FFI_CDEF > +CONTENT( > + char priv[sizeof(int(*)())];
I think you can use "void *priv;" here. > +) > +#else > +CONTENT( > int (*sys_func)(); > +) > +#endif -- ldv
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