Permalink
Browse files

function renamed

  • Loading branch information...
1 parent 4ed5b6e commit 38738dacf590d505726c6341d6af7152df6404d7 @aporat aporat committed Aug 21, 2011
@@ -58,9 +58,9 @@ BOOL TTDeviceOrientationIsPortrait();
BOOL TTDeviceOrientationIsLandscape();
/**
- * @return platform name in human readable strings
+ * @return device full model name in human readable strings
*/
-NSString* TTDevicePlatform();
+NSString* TTDeviceModelName();
/**
* On iPhone/iPod touch
@@ -152,7 +152,7 @@ BOOL TTDeviceOrientationIsLandscape() {
///////////////////////////////////////////////////////////////////////////////////////////////////
-NSString* TTDevicePlatform() {
+NSString* TTDeviceModelName() {
size_t size;
sysctlbyname("hw.machine", NULL, &size, NULL, 0);
char *machine = malloc(size);

0 comments on commit 38738da

Please sign in to comment.