summaryrefslogtreecommitdiff
path: root/sysdata_darwin.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-05-12 02:06:05 -0400
committerPietro Gagliardi <[email protected]>2014-05-12 02:06:05 -0400
commit496ad98216196e6386e5ce81585205345803d54f (patch)
treecaba170da4cf968eabd063a7a741f2f7b0bf9817 /sysdata_darwin.go
parent4813a9892e9faae867a19c5e6c37227050ea3da6 (diff)
Replaced the horribly memory-inefficient NSIndexSet operation to get the list of selected indices in the Mac OS X Listbox with a far simpler option that avoids deferring some of the work (apart from objc_msgSend() calls) to cgo and the use of reflect.SliceHeader at all! It just grabs the indices from the NSIndexSet one at a time using the previous index as an anchor.
Diffstat (limited to 'sysdata_darwin.go')
0 files changed, 0 insertions, 0 deletions