1
/** Interface to ObjC runtime for GNUStep
2
Copyright (C) 1995, 1997, 2000 Free Software Foundation, Inc.
4
Written by: Andrew Kachites McCallum <mccallum@gnu.ai.mit.edu>
7
This file is part of the GNUstep Base Library.
9
This library is free software; you can redistribute it and/or
10
modify it under the terms of the GNU Library General Public
11
License as published by the Free Software Foundation; either
12
version 2 of the License, or (at your option) any later version.
14
This library is distributed in the hope that it will be useful,
15
but WITHOUT ANY WARRANTY; without even the implied warranty of
16
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17
Library General Public License for more details.
19
You should have received a copy of the GNU Library General Public
20
License along with this library; if not, write to the Free
21
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA.
23
AutogsdocSource: NSObjCRuntime.m
24
AutogsdocSource: NSLog.m
28
#ifndef __NSObjCRuntime_h_GNUSTEP_BASE_INCLUDE
29
#define __NSObjCRuntime_h_GNUSTEP_BASE_INCLUDE
31
#include <GNUstepBase/GSObjCRuntime.h>
33
GS_EXPORT NSString *NSStringFromSelector(SEL aSelector);
34
GS_EXPORT SEL NSSelectorFromString(NSString *aSelectorName);
35
GS_EXPORT Class NSClassFromString(NSString *aClassName);
36
GS_EXPORT NSString *NSStringFromClass(Class aClass);
37
GS_EXPORT const char *NSGetSizeAndAlignment(const char *typePtr,
38
unsigned int *sizep, unsigned int *alignp);
43
* OpenStep spec states that log messages go to stderr, but just in case
44
* someone wants them to go somewhere else, they can implement a function
47
typedef void NSLog_printf_handler (NSString* message);
48
GS_EXPORT NSLog_printf_handler *_NSLog_printf_handler;
49
GS_EXPORT int _NSLogDescriptor;
50
@class NSRecursiveLock;
51
GS_EXPORT NSRecursiveLock *GSLogLock(void);
54
GS_EXPORT void NSLog (NSString *format, ...);
55
GS_EXPORT void NSLogv (NSString *format, va_list args);
67
#endif /* __NSObjCRuntime_h_GNUSTEP_BASE_INCLUDE */