| 1 | /** |
| 2 | * Btor2Tools: A tool package for the BTOR format. |
| 3 | * |
| 4 | * Copyright (c) 2015-2018 Aina Niemetz. |
| 5 | * |
| 6 | * All rights reserved. |
| 7 | * |
| 8 | * This file is part of the Btor2Tools package. |
| 9 | * See LICENSE.txt for more information on using this software. |
| 10 | */ |
| 11 | |
| 12 | #ifndef BTOR2RNG_H_INCLUDED |
| 13 | #define BTOR2RNG_H_INCLUDEDcxx . . $ `src/btorsim/btorsimrng.h:13:9`! |
| 14 | |
| 15 | #include <stdbool.h> |
| 16 | #include <stdint.h> |
| 17 | |
| 18 | #if __cplusplus |
| 19 | extern "C" { |
| 20 | #endif |
| 21 | |
| 22 | struct BtorSimRNGcxx . . $ BtorSimRNG# |
| 23 | { |
| 24 | uint32_tcxx . . $ uint32_t# zcxx . . $ BtorSimRNG#z., wcxx . . $ BtorSimRNG#w.; |
| 25 | }; |
| 26 | typedef struct BtorSimRNGcxx . . $ BtorSimRNG# BtorSimRNGcxx . . $ BtorSimRNG#; |
| 27 | |
| 28 | void btorsim_rng_initcxx . . $ btorsim_rng_init(4c81f506c859ca11). (BtorSimRNGcxx . . $ BtorSimRNG#* rng, uint32_tcxx . . $ uint32_t# seed); |
| 29 | |
| 30 | uint32_tcxx . . $ uint32_t# btorsim_rng_randcxx . . $ btorsim_rng_rand(8d4a75f8cd4be0f8). (BtorSimRNGcxx . . $ BtorSimRNG#* rng); |
| 31 | uint32_tcxx . . $ uint32_t# btorsim_rng_pick_randcxx . . $ btorsim_rng_pick_rand(d443b9d2854922d8). (BtorSimRNGcxx . . $ BtorSimRNG#* rng, uint32_tcxx . . $ uint32_t# from, uint32_tcxx . . $ uint32_t# to); |
| 32 | |
| 33 | #if __cplusplus |
| 34 | } |
| 35 | #endif |
| 36 | #endif |