mirror of
https://github.com/gnustep/libs-base.git
synced 2025-06-02 01:21:08 +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
6b8ba601bc
commit
22d887757e
2 changed files with 6 additions and 12 deletions
|
@ -1,8 +1,8 @@
|
||||||
/* Protocol for Objective-C objects that generate random bits
|
/* 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>
|
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.
|
This file is part of the GNU Objective C Class Library.
|
||||||
|
|
||||||
|
@ -26,10 +26,7 @@
|
||||||
|
|
||||||
#include <objects/stdobjects.h>
|
#include <objects/stdobjects.h>
|
||||||
|
|
||||||
@protocol RandomGenerating
|
@protocol RandomGenerating <NSObject, NSCoding>
|
||||||
|
|
||||||
+ alloc;
|
|
||||||
- init;
|
|
||||||
|
|
||||||
- (void) setRandomSeed: (long)seed;
|
- (void) setRandomSeed: (long)seed;
|
||||||
- (long) nextRandom;
|
- (long) nextRandom;
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
/* Protocol for Objective-C objects that generate random bits
|
/* 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>
|
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.
|
This file is part of the GNU Objective C Class Library.
|
||||||
|
|
||||||
|
@ -26,10 +26,7 @@
|
||||||
|
|
||||||
#include <objects/stdobjects.h>
|
#include <objects/stdobjects.h>
|
||||||
|
|
||||||
@protocol RandomGenerating
|
@protocol RandomGenerating <NSObject, NSCoding>
|
||||||
|
|
||||||
+ alloc;
|
|
||||||
- init;
|
|
||||||
|
|
||||||
- (void) setRandomSeed: (long)seed;
|
- (void) setRandomSeed: (long)seed;
|
||||||
- (long) nextRandom;
|
- (long) nextRandom;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue