ftp.nice.ch/pub/next/science/mathematics/Random.2.0.N.bs.tar.gz#/Random2.0/Source/StandardEngine.h

This is StandardEngine.h in view mode; [Download] [Up]

//
// StandardEngine
//
// This is an Objective-C class which uses
// the Random architecture from
// Contemporary Design Studios.
//
// The StandardEngine class is a wrapper for the standard C/UNIX
// rand() and srand() functions supplied on the NeXT computer.
//
// Copyright (C) 1992 Contemporary Design Studios. All rights reserved.
//


#import "RandomEngine.h"


@interface StandardEngine : RandomEngine


{
    ulong	last;
}


+ (int)unit;

- init;

- makeRandom:(uchar *)storage;

- read:(NXTypedStream *)stream;
- write:(NXTypedStream *)stream;


@end


//
// End of file.
//

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.