Graphviz 13.0.0~dev.20250424.1043
Loading...
Searching...
No Matches
random.h
Go to the documentation of this file.
1
3
4#pragma once
5
14#ifndef UTIL_API
15#if !defined(__CYGWIN__) && defined(__GNUC__) && !defined(__MINGW32__)
16#define UTIL_API __attribute__((visibility("hidden")))
17#else
18#define UTIL_API /* nothing */
19#endif
20#endif
21
22#include <stdint.h>
23
24#ifdef __cplusplus
25extern "C" {
26#endif
27
35UTIL_API int *gv_permutation(int bound);
36
44UTIL_API int gv_random(int bound);
45
53UTIL_API uint64_t gv_random_u64(uint64_t bound);
54
55#ifdef __cplusplus
56}
57#endif
UTIL_API uint64_t gv_random_u64(uint64_t bound)
Definition random.c:59
UTIL_API int * gv_permutation(int bound)
Definition random.c:13
UTIL_API int gv_random(int bound)
Definition random.c:83
#define UTIL_API
Definition random.h:18