home *** CD-ROM | disk | FTP | other *** search
-
- /*
- * Copyright (C) 1992-1993 Jeffrey Chilton
- *
- * Permission is granted to anyone to make or distribute copies of
- * this program, in any medium, provided that the copyright notice
- * and permission notice are preserved, and that the distributor
- * grants the recipient permission for further redistribution as
- * permitted by this notice.
- *
- * Author's E-mail address: 172-9221@mcimail.com
- *
- */
-
- /* static char *whatstring = "@(#)random.h 2.2 JWC"; */
-
- #ifndef RANDOM_H
- #define RANDOM_H
-
- /*
- * Random -
- */
-
- typedef long Random;
-
- #if __STDC__
-
- extern Random *Random_new();
- extern long Random_long(Random *self);
- extern void Random_destroy(Random *self);
-
- #else
-
- extern Random *Random_new();
- extern long Random_long();
- extern void Random_destroy();
-
- #endif
-
- #define Random_setSeed(s, l) *s = (l)
-
- #endif
-
-