This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients serhiy.storchaka, vstinner
Date 2015-11-05.17:03:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1446742987.11.0.773693921098.issue25558@psf.upfronthosting.co.za>
In-reply-to
Content
A library can follow the example in the comment.

   #define foo_to_char(foo)  \
       ((char *)(foo)        \
        + Py_BUILD_ASSERT_EXPR(offsetof(struct foo, string) == 0))
History
Date User Action Args
2015-11-05 17:03:07serhiy.storchakasetrecipients: + serhiy.storchaka, vstinner
2015-11-05 17:03:07serhiy.storchakasetmessageid: <1446742987.11.0.773693921098.issue25558@psf.upfronthosting.co.za>
2015-11-05 17:03:07serhiy.storchakalinkissue25558 messages
2015-11-05 17:03:07serhiy.storchakacreate