X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/51d922ae7d6e523ef9edb33d51fb81028c24b577..23ab76fd6ac23869c2e1ffb48299a6f8832fa07b:/include/xbt/RngStream.h diff --git a/include/xbt/RngStream.h b/include/xbt/RngStream.h index cb3041f0f1..211e8c18f5 100644 --- a/include/xbt/RngStream.h +++ b/include/xbt/RngStream.h @@ -1,3 +1,8 @@ +/* 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 @@ -14,6 +19,7 @@ struct RngStream_InfoState { char *name; }; +SG_BEGIN_DECL(); XBT_PUBLIC(int) RngStream_SetPackageSeed (unsigned long seed[6]); @@ -62,6 +68,7 @@ XBT_PUBLIC(double) RngStream_RandU01 (RngStream g); XBT_PUBLIC(int) RngStream_RandInt (RngStream g, int i, int j); +SG_END_DECL(); #endif