Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNikita Nemkin2019-04-24 13:02:14 +0000
committerNikita Nemkin2019-05-10 09:24:58 +0000
commite8c4408aea4cb0b4a0aa7991da4e0ec65c6780d3 (patch)
tree9e2c1d49ab9883ec88417e6de1a7ec2480d355d8 /bundles/org.eclipse.swt/Eclipse%20SWT%20PI/cocoa/org/eclipse/swt/internal/cocoa
parent5300e5640ac4555bfc26fea780ae2c5189f3e6ef (diff)
downloadeclipse.platform.swt-e8c4408aea4cb0b4a0aa7991da4e0ec65c6780d3.tar.gz
eclipse.platform.swt-e8c4408aea4cb0b4a0aa7991da4e0ec65c6780d3.tar.xz
eclipse.platform.swt-e8c4408aea4cb0b4a0aa7991da4e0ec65c6780d3.zip
Bug 546694 - [Cocoa] Re-enable struct generation in MacGenerator
Struct generation was disabled in 6ddf285abe, likely to allow for customization (for example, flattening of NSRect). Partially re-enable struct generation with the help of two new bridgesupport tags (on <struct>): swt_gen_memmove - generate OS.memmove and OS.***_sizeof for the struct. This is independent from swt_gen and allows custom struct definition without losing automatically generated helper functions. swt_gen_tostring - generate simple toString() implementation. This matches previously handwritten toString() code. With this patch, all Cocoa structures except NSRect become auto-genrated. Since memmove generation is now configurable, I've removed unused memmoves. Change-Id: Ia2cd3fcb3bc7cece5668d6c7c32ca1f6d22128ef Signed-off-by: Nikita Nemkin <nikita@nemkin.ru>
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse%20SWT%20PI/cocoa/org/eclipse/swt/internal/cocoa')
0 files changed, 0 insertions, 0 deletions

Back to the top