summaryrefslogtreecommitdiff
path: root/objc_darwin.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-04-04 19:51:23 -0400
committerPietro Gagliardi <[email protected]>2014-04-04 19:51:59 -0400
commit5a5b486b6abd568d80150d36ed85746b445bf2fb (patch)
tree33775c2909f96f0e8d04fd62a77a118b46c2df24 /objc_darwin.go
parentdd4a7b9cbef10d5469aa6660286dcecfde9a6ad2 (diff)
Removed objc_msgSend_rect(). This also consolidates all initWithFrame: calls into a simple initWithDummyFrame().
Diffstat (limited to 'objc_darwin.go')
-rw-r--r--objc_darwin.go9
1 files changed, 0 insertions, 9 deletions
diff --git a/objc_darwin.go b/objc_darwin.go
index 6315d62..b4a6a5b 100644
--- a/objc_darwin.go
+++ b/objc_darwin.go
@@ -56,12 +56,3 @@ func fromNSString(str C.id) string {
cstr := C.objc_msgSend_noargs(str, _UTF8String)
return C.GoString((*C.char)(unsafe.Pointer(cstr)))
}
-
-/*
-These are wrapper functions for the functions in bleh_darwin.m to wrap around stdint.h type casting.
-*/
-
-func objc_msgSend_rect(obj C.id, sel C.SEL, x int, y int, w int, h int) C.id {
- return C._objc_msgSend_rect(obj, sel,
- C.int64_t(x), C.int64_t(y), C.int64_t(w), C.int64_t(h))
-}