~ubuntu-branches/ubuntu/trusty/gnustep-base/trusty

« back to all changes in this revision

Viewing changes to Testing/MyCategory.m

Tags: upstream-1.20.0
ImportĀ upstreamĀ versionĀ 1.20.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* Test Category for NSBundle.
2
 
   Copyright (C) 1993,1994,1995 Free Software Foundation, Inc.
3
 
 
4
 
  Copying and distribution of this file, with or without modification,
5
 
  are permitted in any medium without royalty provided the copyright
6
 
  notice and this notice are preserved.
7
 
 
8
 
   Written by:  Adam Fedor <fedor@boulder.colorado.edu>
9
 
   Date: Jul 1995
10
 
 
11
 
   This file is part of the GNUstep Base Library.
12
 
 
13
 
*/
14
 
#include "MyCategory.h"
15
 
#include <Foundation/NSString.h>
16
 
 
17
 
@implementation NSObject(MyCategory)
18
 
 
19
 
- printMyName
20
 
{
21
 
  printf("Class %s had MyCategory added to it\n", [[self description] cString]);
22
 
  return self;
23
 
}
24
 
 
25
 
@end