summaryrefslogtreecommitdiff
path: root/src/intersim/rng_wrapper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/intersim/rng_wrapper.cpp')
-rw-r--r--src/intersim/rng_wrapper.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/intersim/rng_wrapper.cpp b/src/intersim/rng_wrapper.cpp
new file mode 100644
index 0000000..0bfc669
--- /dev/null
+++ b/src/intersim/rng_wrapper.cpp
@@ -0,0 +1,9 @@
+#include "rng.hpp"
+
+#define main rng_main
+#include "rng.cpp"
+
+long ran_next( )
+{
+ return ran_arr_next( );
+}