Skip to content

Commit

Permalink
function renamed
Browse files Browse the repository at this point in the history
  • Loading branch information
Adar Porat committed Aug 21, 2011
1 parent 4ed5b6e commit 38738da
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Three20UICommon/Headers/TTGlobalUICommon.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/Three20UICommon/Sources/TTGlobalUICommon.m
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ BOOL TTDeviceOrientationIsLandscape() {


///////////////////////////////////////////////////////////////////////////////////////////////////
NSString* TTDevicePlatform() {
NSString* TTDeviceModelName() {
size_t size;
sysctlbyname("hw.machine", NULL, &size, NULL, 0);
char *machine = malloc(size);
Expand Down

0 comments on commit 38738da

Please sign in to comment.