diff liboctave/randmtzig.h @ 13039:70d32160c90b stable

Make more symbols for export. * liboctave/randgamma.h: Add OCTAVE_API modifier to oct_randg and oct_fill_randg * liboctave/randmtzig.h: Add OCTAVE_API modifier to oct_init_by_int, oct_init_by_array, oct_init_by_entropy, oct_get_state, oct_set_state, oct_randu, oct_randn, oct_rande, oct_fill_randu, oct_fill_randn and oct_fill_rande. * liboctave/randpoisson.h: Add OCTAVE_API modifier to oct_randp and oct_fill_randp. * src/xpow.h: Add OCTINTERP_API modifier to xpow and elem_xpow (all variants).
author Michael Goffioul <michael.goffioul@gmail.com>
date Fri, 02 Sep 2011 21:43:10 +0100
parents 12df7854fa7c
children 72c96de7a403
line wrap: on
line diff
old mode 100644
new mode 100755
--- a/liboctave/randmtzig.h
+++ b/liboctave/randmtzig.h
@@ -71,21 +71,21 @@
 #endif
 
 /* === Mersenne Twister === */
-extern void oct_init_by_int (uint32_t s);
-extern void oct_init_by_array (uint32_t init_key[], int key_length);
-extern void oct_init_by_entropy (void);
-extern void oct_set_state (uint32_t save[]);
-extern void oct_get_state (uint32_t save[]);
+extern OCTAVE_API void oct_init_by_int (uint32_t s);
+extern OCTAVE_API void oct_init_by_array (uint32_t init_key[], int key_length);
+extern OCTAVE_API void oct_init_by_entropy (void);
+extern OCTAVE_API void oct_set_state (uint32_t save[]);
+extern OCTAVE_API void oct_get_state (uint32_t save[]);
 
 /* === Array generators === */
-extern double oct_randu (void);
-extern double oct_randn (void);
-extern double oct_rande (void);
+extern OCTAVE_API double oct_randu (void);
+extern OCTAVE_API double oct_randn (void);
+extern OCTAVE_API double oct_rande (void);
 
 /* === Array generators === */
-extern void oct_fill_randu (octave_idx_type n, double *p);
-extern void oct_fill_randn (octave_idx_type n, double *p);
-extern void oct_fill_rande (octave_idx_type n, double *p);
+extern OCTAVE_API void oct_fill_randu (octave_idx_type n, double *p);
+extern OCTAVE_API void oct_fill_randn (octave_idx_type n, double *p);
+extern OCTAVE_API void oct_fill_rande (octave_idx_type n, double *p);
 
 #ifdef  __cplusplus
 }