From 5a5b486b6abd568d80150d36ed85746b445bf2fb Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Fri, 4 Apr 2014 19:51:23 -0400 Subject: Removed objc_msgSend_rect(). This also consolidates all initWithFrame: calls into a simple initWithDummyFrame(). --- objc_darwin.go | 9 --------- 1 file changed, 9 deletions(-) (limited to 'objc_darwin.go') 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)) -} -- cgit v1.2.3