X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/c6de5d3fc33ec47c1b0d97e24463de43dd4eb129..a2f940aae2205924d3bfd7882b31a798cc67d3b1:/include/simgrid/jedule/jedule.hpp diff --git a/include/simgrid/jedule/jedule.hpp b/include/simgrid/jedule/jedule.hpp index 372f265ad4..eb25b52fbe 100644 --- a/include/simgrid/jedule/jedule.hpp +++ b/include/simgrid/jedule/jedule.hpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2010-2012, 2014-2015. The SimGrid Team. +/* Copyright (c) 2010-2012, 2014-2017. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -6,16 +6,13 @@ #ifndef JEDULE_HPP_ #define JEDULE_HPP_ -#include #include "simgrid_config.h" +#include #include "jedule_events.hpp" #include "jedule_platform.hpp" -#if HAVE_JEDULE - -XBT_ATTRIB_UNUSED static std::unordered_map host2_simgrid_parent_container; -XBT_ATTRIB_UNUSED static std::unordered_map container_name2container; +#if SIMGRID_HAVE_JEDULE namespace simgrid { namespace jedule{ @@ -36,11 +33,9 @@ public: } } -SG_BEGIN_DECL() - +extern "C" { typedef simgrid::jedule::Jedule *jedule_t; - -SG_END_DECL() +} #endif #endif /* JEDULE_HPP_ */