Re: [Python-Dev] ctypes: alignment of (simple) types

2011年11月07日 15:41:18 -0800

Hi,
2011年11月7日 Michael Walle <[email protected]>
> What do you think about adding a special attribute '_align_' which, if set
> for
> a data type overrides the hardcoded align property of that type?
>
It's a good idea. But you should also consider the other feature requests
around custom alignments.
IMO a good thing would be a way to specify a function that computes sizes
and alignments, that one can override to implement specific compiler
features.
-- 
Amaury Forgeot d'Arc
_______________________________________________
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to