summaryrefslogtreecommitdiff
path: root/listbox_darwin.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-04-04 18:56:37 -0400
committerPietro Gagliardi <[email protected]>2014-04-04 18:56:37 -0400
commitba2c1d6d20c9b9afe67a46120969a05672be76cd (patch)
treef3965b53a754bc04846df24090430a778e6a32a4 /listbox_darwin.go
parentbf1e7aae4217eae5556e7dee7445baa34e0430c7 (diff)
Removed objc_msgSend_uint().
Diffstat (limited to 'listbox_darwin.go')
-rw-r--r--listbox_darwin.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/listbox_darwin.go b/listbox_darwin.go
index 19e8523..1040a02 100644
--- a/listbox_darwin.go
+++ b/listbox_darwin.go
@@ -100,12 +100,13 @@ func insertListboxArrayBefore(array C.id, what string, before int) {
}
func deleteListboxArray(array C.id, index int) {
- objc_msgSend_uint(array, _removeObjectAtArrangedObjectIndex, uintptr(index))
+ C.objc_msgSend_uint(array, _removeObjectAtArrangedObjectIndex,
+ C.uintptr_t(index))
}
func indexListboxArray(array C.id, index int) string {
array = C.objc_msgSend_noargs(array, _arrangedObjects)
- dict := objc_msgSend_uint(array, _objectAtIndex, uintptr(index))
+ dict := C.objc_msgSend_uint(array, _objectAtIndex, C.uintptr_t(index))
return fromListboxItem(dict)
}