projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[utils] Fix retiring of live block for the lock free allocator
[mono.git]
/
mono
/
utils
/
mono-rand.h
diff --git
a/mono/utils/mono-rand.h
b/mono/utils/mono-rand.h
index cf899dcba7ad8c8cfc743512bbc5490785236e79..e803ae9d9cae2466a90b1ff1c7e6e16a9bb3a105 100644
(file)
--- a/
mono/utils/mono-rand.h
+++ b/
mono/utils/mono-rand.h
@@
-4,16
+4,17
@@
#include <glib.h>
#include "mono-compiler.h"
#include <glib.h>
#include "mono-compiler.h"
+#include "mono-error.h"
gboolean
mono_rand_open (void);
gpointer
mono_rand_init (guchar *seed, gint seed_size);
gboolean
gboolean
mono_rand_open (void);
gpointer
mono_rand_init (guchar *seed, gint seed_size);
gboolean
-mono_rand_try_get_bytes (gpointer *handle, guchar *buffer, gint buffer_size);
+mono_rand_try_get_bytes (gpointer *handle, guchar *buffer, gint buffer_size
, MonoError *error
);
gboolean
gboolean
-mono_rand_try_get_uint32 (gpointer *handle, guint32 *val, guint32 min, guint32 max);
+mono_rand_try_get_uint32 (gpointer *handle, guint32 *val, guint32 min, guint32 max
, MonoError *error
);
void
mono_rand_close (gpointer handle);
void
mono_rand_close (gpointer handle);
-#endif /* _MONO_UTILS_RAND_H_ */
\ No newline at end of file
+#endif /* _MONO_UTILS_RAND_H_ */