Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 53 lines (45 sloc) 1.863 kb
720b0e7b »
2010-03-04 Added licensing information to the source files.
1 //
2 // UKDebugNames.h
3 // filebrowser
4 //
5 // Created by Uli Kusterer on 2005-05-01
6 // Copyright 2005 Uli Kusterer.
7 //
8 // This software is provided 'as-is', without any express or implied
9 // warranty. In no event will the authors be held liable for any damages
10 // arising from the use of this software.
11 //
12 // Permission is granted to anyone to use this software for any purpose,
13 // including commercial applications, and to alter it and redistribute it
14 // freely, subject to the following restrictions:
15 //
16 // 1. The origin of this software must not be misrepresented; you must not
17 // claim that you wrote the original software. If you use this software
18 // in a product, an acknowledgment in the product documentation would be
19 // appreciated but is not required.
20 //
21 // 2. Altered source versions must be plainly marked as such, and must not be
22 // misrepresented as being the original software.
23 //
24 // 3. This notice may not be removed or altered from any source
25 // distribution.
26 //
27
28 /*
29 Generate unique, human-readable names for pointers as a
30 debugging aid. It remembers if it's already seen an address,
31 and in that case returns the same name it generated before
32 (at least during one session - but not across re-launches).
ee405def »
2010-12-18 UKDebugNames: Made this include Foundation, not all of Cocoa, so it's…
33
34 REQUIREMENTS: English.lproj/UKDebugNames.plist
35
36 NOT THREAD SAFE
720b0e7b »
2010-03-04 Added licensing information to the source files.
37 */
38
dc5be1c0 »
2009-07-04 Initial check-in.
39 // -----------------------------------------------------------------------------
40 // Headers:
41 // -----------------------------------------------------------------------------
42
ee405def »
2010-12-18 UKDebugNames: Made this include Foundation, not all of Cocoa, so it's…
43 #import <Foundation/Foundation.h>
dc5be1c0 »
2009-07-04 Initial check-in.
44
45 /*
46 This is a handy debugging aid for printf-style debugging (i.e. if you're
47 using NSLog statements to track down bugs). This assigns each object a
48 human-readable name (from a list of predefined names it has) which are much
49 easier to distinguish than 0x00488010-style numbers.
50 */
51
52 NSString* UKDebugNameFor( id obj );
Something went wrong with that request. Please try again.