~ubuntu-branches/ubuntu/karmic/gnustep-base/karmic

« back to all changes in this revision

Viewing changes to Headers/Foundation/NSObjCRuntime.h

  • Committer: Bazaar Package Importer
  • Author(s): Luca Falavigna
  • Date: 2008-07-05 09:49:51 UTC
  • mfrom: (1.2.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20080705094951-gs19i3erqo2xx6if
Tags: 1.16.1-2ubuntu1
* Merge from Debian unstable, remaining Ubuntu changes:
  + debian/rules:
    - Add lpia to ALL_ARCHS supported architectures.
  + debian/control:
    - Add lpia architecture where needed.
  + debian/control{,.m4}:
    - Update Maintainer field as per spec.

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
   This library is free software; you can redistribute it and/or
10
10
   modify it under the terms of the GNU Lesser General Public
11
11
   License as published by the Free Software Foundation; either
12
 
   version 3 of the License, or (at your option) any later version.
 
12
   version 2 of the License, or (at your option) any later version.
13
13
   
14
14
   This library is distributed in the hope that it will be useful,
15
15
   but WITHOUT ANY WARRANTY; without even the implied warranty of
29
29
#ifndef __NSObjCRuntime_h_GNUSTEP_BASE_INCLUDE
30
30
#define __NSObjCRuntime_h_GNUSTEP_BASE_INCLUDE
31
31
#import <GNUstepBase/GSVersionMacros.h>
32
 
 
 
32
#import <GNUstepBase/preface.h>
 
33
#import <GNUstepBase/GSConfig.h>
33
34
#import <GNUstepBase/GSObjCRuntime.h>
34
35
 
35
36
#if     defined(__cplusplus)
36
37
extern "C" {
37
38
#endif
38
39
 
 
40
typedef gsaddr  NSInteger;
 
41
typedef gsuaddr NSUInteger;
 
42
 
 
43
#if OS_API_VERSION(100500,GS_API_LATEST) 
 
44
GS_EXPORT NSString      *NSStringFromProtocol(Protocol *aProtocol);
 
45
GS_EXPORT Protocol      *NSProtocolFromString(NSString *aProtocolName);
 
46
#endif
 
47
GS_EXPORT SEL           NSSelectorFromString(NSString *aSelectorName);
39
48
GS_EXPORT NSString      *NSStringFromSelector(SEL aSelector);
40
49
GS_EXPORT SEL           NSSelectorFromString(NSString *aSelectorName);
41
50
GS_EXPORT Class         NSClassFromString(NSString *aClassName);