equal
deleted
inserted
replaced
226 natural_t mem_total = mem_used + mem_free; |
226 natural_t mem_total = mem_used + mem_free; |
227 DLog(@"used: %u free: %u total: %u", mem_used, mem_free, mem_total); |
227 DLog(@"used: %u free: %u total: %u", mem_used, mem_free, mem_total); |
228 } |
228 } |
229 |
229 |
230 BOOL inline isApplePhone () { |
230 BOOL inline isApplePhone () { |
231 return (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPhone); |
231 return (IS_IPAD() == NO); |
232 } |
232 } |
233 |
233 |
234 NSString *modelType () { |
234 NSString *modelType () { |
235 size_t size; |
235 size_t size; |
236 // set 'oldp' parameter to NULL to get the size of the data returned so we can allocate appropriate amount of space |
236 // set 'oldp' parameter to NULL to get the size of the data returned so we can allocate appropriate amount of space |