mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-29 16:01:38 +00:00
Minor fix for zombies and new tool added.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@13363 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
8b35de5603
commit
6fbf6d25ab
8 changed files with 156 additions and 8 deletions
|
@ -7,8 +7,12 @@ int main ()
|
|||
{
|
||||
id pool = [NSAutoreleasePool new];
|
||||
id o = [NSObject new];
|
||||
NSArray *a = [NSArray arrayWithObjects: @"a", @"b", nil];
|
||||
|
||||
printf ("Hello from object at 0x%x\n", (unsigned)[o self]);
|
||||
|
||||
NSLog(@"Value for foo is %@", [a valueForKey: @"foo"]);
|
||||
|
||||
[o release];
|
||||
o = [NSString stringWithFormat: @"/proc/%d/status", getpid()];
|
||||
NSLog(@"'%@'", o);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue