@@ -133,11 +133,11 @@ static inline void minstd_free( struct BasePRNGObject *obj ) {
133
133
* @return pointer to a dynamically allocated PRNG or, if unable to allocate memory, a null pointer
134
134
*
135
135
* @example
136
+ * #include "stdlib/random/base/minstd.h"
137
+ * #include "stdlib/random/base/shared.h"
136
138
* #include <stdlib.h>
137
139
* #include <stdio.h>
138
140
* #include <stdint.h>
139
- * #include "stdlib/random/base.h"
140
- * #include "stdlib/random/base/minstd.h"
141
141
*
142
142
* // Create a PRNG:
143
143
* struct BasePRNGObject *obj = stdlib_base_random_minstd_allocate( 12345 );
@@ -203,11 +203,11 @@ struct BasePRNGObject * stdlib_base_random_minstd_allocate( const int32_t seed )
203
203
* @param obj PRNG object
204
204
*
205
205
* @example
206
+ * #include "stdlib/random/base/minstd.h"
207
+ * #include "stdlib/random/base/shared.h"
206
208
* #include <stdlib.h>
207
209
* #include <stdio.h>
208
210
* #include <stdint.h>
209
- * #include "stdlib/random/base.h"
210
- * #include "stdlib/random/base/minstd.h"
211
211
*
212
212
* // Create a PRNG:
213
213
* struct BasePRNGObject *obj = stdlib_base_random_minstd_allocate( 12345 );
@@ -255,11 +255,11 @@ void stdlib_base_random_minstd_free( struct BasePRNGObject *obj ) {
255
255
* @return status code
256
256
*
257
257
* @example
258
+ * #include "stdlib/random/base/minstd.h"
259
+ * #include "stdlib/random/base/shared.h"
258
260
* #include <stdlib.h>
259
261
* #include <stdio.h>
260
262
* #include <stdint.h>
261
- * #include "stdlib/random/base.h"
262
- * #include "stdlib/random/base/minstd.h"
263
263
*
264
264
* // Create a PRNG:
265
265
* struct BasePRNGObject *obj = stdlib_base_random_minstd_allocate( 12345 );
@@ -304,11 +304,11 @@ int8_t stdlib_base_random_minstd_seed( const struct BasePRNGObject *obj, int32_t
304
304
* @return pointer to a copy of the PRNG's internal state or, if unable to allocate memory, a null pointer
305
305
*
306
306
* @example
307
+ * #include "stdlib/random/base/minstd.h"
308
+ * #include "stdlib/random/base/shared.h"
307
309
* #include <stdlib.h>
308
310
* #include <stdio.h>
309
311
* #include <stdint.h>
310
- * #include "stdlib/random/base.h"
311
- * #include "stdlib/random/base/minstd.h"
312
312
*
313
313
* // Create a PRNG:
314
314
* struct BasePRNGObject *obj = stdlib_base_random_minstd_allocate( 12345 );
@@ -353,11 +353,11 @@ void * stdlib_base_random_minstd_state( const struct BasePRNGObject *obj ) {
353
353
* @return status code
354
354
*
355
355
* @example
356
+ * #include "stdlib/random/base/minstd.h"
357
+ * #include "stdlib/random/base/shared.h"
356
358
* #include <stdlib.h>
357
359
* #include <stdio.h>
358
360
* #include <stdint.h>
359
- * #include "stdlib/random/base.h"
360
- * #include "stdlib/random/base/minstd.h"
361
361
*
362
362
* // Create a PRNG:
363
363
* struct BasePRNGObject *obj = stdlib_base_random_minstd_allocate( 12345 );
0 commit comments