[PATCH RFC v2 1/1] Initial support for Lua scripting

Dmitry V. Levin ldv at altlinux.org
Tue Jun 20 07:40:58 UTC 2017


On Tue, Jun 20, 2017 at 09:44:22AM +0300, Victor Krapivensky wrote:
> On Tue, Jun 20, 2017 at 04:25:23AM +0300, Dmitry V. Levin wrote:
> > I think you can use "void *priv;" here.
> 
> C standard doesn't guarantee sizeof(function pointer) == sizeof(void *).

The alignment of pointers is usually different from the alignment of chars.


-- 
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20170620/aa77822b/attachment.bin>


More information about the Strace-devel mailing list