mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
(RandomGenerating): Inherit from NSObject protocol. Remove methods
+alloc and -init. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1185 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
a6e5beda0e
commit
a91e058724
2 changed files with 6 additions and 12 deletions
|
@ -1,8 +1,8 @@
|
|||
/* Protocol for Objective-C objects that generate random bits
|
||||
Copyright (C) 1993,1994 Free Software Foundation, Inc.
|
||||
Copyright (C) 1993, 1994, 1996 Free Software Foundation, Inc.
|
||||
|
||||
Written by: R. Andrew McCallum <mccallum@gnu.ai.mit.edu>
|
||||
Date: May 1993
|
||||
Created: May 1993
|
||||
|
||||
This file is part of the GNU Objective C Class Library.
|
||||
|
||||
|
@ -26,10 +26,7 @@
|
|||
|
||||
#include <objects/stdobjects.h>
|
||||
|
||||
@protocol RandomGenerating
|
||||
|
||||
+ alloc;
|
||||
- init;
|
||||
@protocol RandomGenerating <NSObject, NSCoding>
|
||||
|
||||
- (void) setRandomSeed: (long)seed;
|
||||
- (long) nextRandom;
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
/* Protocol for Objective-C objects that generate random bits
|
||||
Copyright (C) 1993,1994 Free Software Foundation, Inc.
|
||||
Copyright (C) 1993, 1994, 1996 Free Software Foundation, Inc.
|
||||
|
||||
Written by: R. Andrew McCallum <mccallum@gnu.ai.mit.edu>
|
||||
Date: May 1993
|
||||
Created: May 1993
|
||||
|
||||
This file is part of the GNU Objective C Class Library.
|
||||
|
||||
|
@ -26,10 +26,7 @@
|
|||
|
||||
#include <objects/stdobjects.h>
|
||||
|
||||
@protocol RandomGenerating
|
||||
|
||||
+ alloc;
|
||||
- init;
|
||||
@protocol RandomGenerating <NSObject, NSCoding>
|
||||
|
||||
- (void) setRandomSeed: (long)seed;
|
||||
- (long) nextRandom;
|
||||
|
|
Loading…
Reference in a new issue