Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Change CoreText values in AppleTV.h to const #1

Open
wants to merge 1 commit into from

1 participant

Tobias Hieta
Tobias Hieta
tru commented

Hello,

I getting SMFramework to work with Plex ATV Plugin, I had some problems with the CoreText definitions being const these days. This patch fixes that problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

Aug 16, 2011
Tobias Hieta tru Some items seems to be const now. c65c14d
This page is out of date. Refresh to see the latest.

Showing 1 changed file with 6 additions and 6 deletions. Show diff stats Hide diff stats

  1. +6 6 Backrow/AppleTV-Structs.h
12 Backrow/AppleTV-Structs.h
@@ -59,9 +59,9 @@ typedef struct __CFSocket *CFSocketRef;
59 59
60 60
61 61
62   -typedef struct __SCPreferences *SCPreferencesRef;
  62 +typedef const struct __SCPreferences *SCPreferencesRef;
63 63
64   -typedef struct __SCNetworkService *SCNetworkServiceRef;
  64 +typedef const struct __SCNetworkService *SCNetworkServiceRef;
65 65
66 66
67 67
@@ -161,13 +161,13 @@ typedef struct BRFocusEdge {
161 161 CGPoint _field2;
162 162 } BRFocusEdge;
163 163
164   -typedef struct __CTFont *CTFontRef;
  164 +typedef const struct __CTFont *CTFontRef;
165 165
166   -typedef struct __SCDynamicStore *SCDynamicStoreRef;
  166 +typedef const struct __SCDynamicStore *SCDynamicStoreRef;
167 167
168   -typedef struct __CTLine *CTLineRef;
  168 +typedef const struct __CTLine *CTLineRef;
169 169
170   -typedef struct __CTTypesetter *CTTypesetterRef;
  170 +typedef const struct __CTTypesetter *CTTypesetterRef;
171 171
172 172 typedef struct HttpStreamReader HttpStreamReader;
173 173

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.