diff options
author | Sven Gothel <[email protected]> | 2015-03-09 03:18:42 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2015-03-09 03:18:42 +0100 |
commit | 10060b091b76bee35246c5165d49ab546ebc4e37 (patch) | |
tree | 17576b74d806f0f571939660675383f98431d82a /make/scripts | |
parent | 414a0146660cadd35d5ae270f7f819717e9c7374 (diff) |
Bug 1134 - ProcAddressCMethodBindingEmitter: Use available 'ProcAddrTypedef' for type validation w/ local generated variant (robustness)
ProcAddressCMethodBindingEmitter code regarding having the public 'ProcAddrTypedef' (from input header)
was simply broken, since it always used the local generated 'ProcAddrTypedef',
if 'ProcAddrTypedef' was forced. Hence the public 'ProcAddrTypedef' was ignored in most cases.
ProcAddressCMethodBindingEmitter's semantic changed from:
needsLocalTypedef -> hasProcAddrTypedef
New Code generation:
- always generated the local 'ProcAddrTypedef'
- if hasProcAddrTypedef, use public 'ProcAddrTypedef' for return type variable
- cast local 'ProcAddrTypedef' to public 'ProcAddrTypedef',
which renders the native compiler to validate the local and public types.
Diffstat (limited to 'make/scripts')
0 files changed, 0 insertions, 0 deletions