From 8eee2a92b7c4e3884c3b4e0c37a6bd7e6b37d4e4 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Fri, 4 Apr 2014 22:21:53 -0400 Subject: Changed the way drawRect: was being added to our Mac OS X Area such that we no longer need a separate function to add it to the class. --- objc_darwin.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'objc_darwin.h') diff --git a/objc_darwin.h b/objc_darwin.h index b8fc2d6..4c1b77a 100644 --- a/objc_darwin.h +++ b/objc_darwin.h @@ -113,10 +113,13 @@ extern uintptr_t *NSIndexSetEntries(id, uintptr_t); extern id makeDummyEvent(); /* for area_darwin.go */ -extern BOOL addAreaViewDrawMethod(Class); +extern void *_areaView_drawRect; extern void drawImage(void *, int64_t, int64_t, int64_t, int64_t, int64_t); extern struct xpoint getTranslatedEventPoint(id, id); +/* for objc_darwin.go */ +extern char *encodedNSRect; + /* for sysdata_darwin.go */ extern void objc_setFont(id, unsigned int); -- cgit v1.2.3