deCONZ C++ API v2.6.1
Loading...
Searching...
No Matches
u_rand32.h
1#ifndef U_RAND32_H
2#define U_RAND32_H
3
4/*
5 * Copyright (c) 2012-2023 dresden elektronik ingenieurtechnik gmbh.
6 * All rights reserved.
7 *
8 * The software in this package is published under the terms of the BSD
9 * style license a copy of which has been included with this distribution in
10 * the LICENSE.txt file.
11 *
12 */
13
14#ifndef U_LIBAPI
15#ifdef _WIN32
16 #ifdef USE_ULIB_SHARED
17 #define U_LIBAPI __declspec(dllimport)
18 #endif
19 #ifdef BUILD_ULIB_SHARED
20 #define U_LIBAPI __declspec(dllexport)
21 #endif
22#endif
23#endif /* ! defined(U_LIBAPI) */
24
25#ifndef U_LIBAPI
26#define U_LIBAPI
27#endif
28
29#ifdef __cplusplus
30extern "C" {
31#endif
32
34U_LIBAPI void U_rand32_seed(unsigned seed);
35
36
39U_LIBAPI unsigned U_rand32(void);
40
41#ifdef __cplusplus
42}
43#endif
44
45#endif /* U_RAND32_H */