A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[surf] move gap-related definition to the subclass where they belong
[simgrid.git]
/
include
/
xbt
/
RngStream.h
diff --git
a/include/xbt/RngStream.h
b/include/xbt/RngStream.h
index
e9b8ef3
..
211e8c1
100644
(file)
--- a/
include/xbt/RngStream.h
+++ b/
include/xbt/RngStream.h
@@
-1,8
+1,13
@@
-
+/* Copyright (c) 2012, 2014. The SimGrid Team.
+ * All rights reserved. */
+
+/* This program is free software; you can redistribute it and/or modify it
+ * under the terms of the license (GNU LGPL) which comes with this package. */
+
/* RngStream.h for ANSI C */
#ifndef RNGSTREAM_H
#define RNGSTREAM_H
/* RngStream.h for ANSI C */
#ifndef RNGSTREAM_H
#define RNGSTREAM_H
-
+
#include "misc.h"
typedef struct RngStream_InfoState * RngStream;
#include "misc.h"
typedef struct RngStream_InfoState * RngStream;
@@
-14,6
+19,7
@@
struct RngStream_InfoState {
char *name;
};
char *name;
};
+SG_BEGIN_DECL();
XBT_PUBLIC(int) RngStream_SetPackageSeed (unsigned long seed[6]);
XBT_PUBLIC(int) RngStream_SetPackageSeed (unsigned long seed[6]);
@@
-61,8
+67,9
@@
XBT_PUBLIC(double) RngStream_RandU01 (RngStream g);
XBT_PUBLIC(int) RngStream_RandInt (RngStream g, int i, int j);
XBT_PUBLIC(int) RngStream_RandInt (RngStream g, int i, int j);
-
+
+SG_END_DECL();
#endif
#endif
-
+