mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 00:30:53 +00:00
2000-09-30 Mirko Viviani <mirko.viviani@rccr.cremona.it>
* Source/NSDistantObject.m ([GSDistantObjectPlaceHolder +respondsToSelector:]): implemented. * Source/NSProcessInfo.m ([NSProcessInfo +load]): bug fix for FreeBSD. * configure.in: enable_fake_main not enabled by default for FreeBSD-elf git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@7668 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
0c082dea54
commit
7a2f216c28
5 changed files with 23 additions and 6 deletions
|
@ -72,6 +72,7 @@ enum
|
|||
+ (void) autorelease;
|
||||
+ (void) release;
|
||||
+ (id) retain;
|
||||
+ (BOOL) respondsToSelector: (SEL)sel;
|
||||
@end
|
||||
|
||||
@implementation GSDistantObjectPlaceHolder
|
||||
|
@ -97,6 +98,11 @@ enum
|
|||
}
|
||||
}
|
||||
|
||||
+ (BOOL) respondsToSelector: (SEL)sel
|
||||
{
|
||||
return (IMP)class_get_instance_method(self, sel) != (IMP)0;
|
||||
}
|
||||
|
||||
+ (id) initWithCoder: (NSCoder*)aCoder
|
||||
{
|
||||
gsu8 proxy_tag;
|
||||
|
|
|
@ -152,7 +152,7 @@ static NSMutableSet *_debug_set = nil;
|
|||
*** Implementing the gnustep_base_user_main function
|
||||
*************************************************************************/
|
||||
|
||||
static void
|
||||
void
|
||||
_gnu_process_args(int argc, char *argv[], char *env[])
|
||||
{
|
||||
NSAutoreleasePool *arp = [NSAutoreleasePool new];
|
||||
|
@ -330,7 +330,9 @@ static char **_gnu_noobjc_env;
|
|||
else if (c == EOF)
|
||||
break;
|
||||
}
|
||||
#ifndef __FreeBSD__
|
||||
_gnu_noobjc_argc++;
|
||||
#endif
|
||||
/*
|
||||
* Now _gnu_noobcj_argc is the number of arguments;
|
||||
* allocate memory accordingly.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue