GS_EXPORT functions.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17624 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Adam Fedor 2003-09-06 03:34:54 +00:00
parent a46f56746e
commit d4a1d10ab6
2 changed files with 9 additions and 10 deletions

View file

@ -1,3 +1,7 @@
2003-09-05 Adam Fedor <fedor@gnu.org>
* Headers/Additions/GNUstepBase/behavior.h: GS_EXPORT functions.
2003-09-04 18:41 Alexander Malmberg <alexander@malmberg.org>
* Headers/Foundation/NSDistributedLock.h, Source/NSDistributedLock.m:

View file

@ -27,12 +27,7 @@
#ifndef __behavior_h_GNUSTEP_BASE_INCLUDE
#define __behavior_h_GNUSTEP_BASE_INCLUDE
#if NeXT_RUNTIME
#include <objc/objc.h>
#include <objc/objc-class.h>
#else
#include <objc/objc-api.h>
#endif
#include <GNUstepBase/GSObjCRuntime.h>
/* Call this method from CLASS's +initialize method to add a behavior
to CLASS. A "behavior" is like a protocol with an implementation.
@ -51,14 +46,14 @@
*/
void behavior_class_add_class (Class class,
GS_EXPORT void behavior_class_add_class (Class class,
Class behavior);
void behavior_class_add_category (Class class,
GS_EXPORT void behavior_class_add_category (Class class,
struct objc_category *category);
void behavior_class_add_methods (Class class,
GS_EXPORT void behavior_class_add_methods (Class class,
struct objc_method_list *methods);
/* Set to non-zero if you want debugging messages on stderr. */
void behavior_set_debug(int i);
GS_EXPORT void behavior_set_debug(int i);
#endif /* __behavior_h_GNUSTEP_BASE_INCLUDE */