1 /* Copyright (c) 2007-2015. The SimGrid Team.
2 * All rights reserved. */
4 /* This program is free software; you can redistribute it and/or modify it
5 * under the terms of the license (GNU LGPL) which comes with this package. */
9 * Define type names for pointers of MC objects for the C code
12 #ifndef SIMGRID_MC_FORWARD_H
13 #define SIMGRID_MC_FORWARD_H
17 // If we're in C++, we give the real definition:
18 #include "mc_forward.hpp"
19 typedef simgrid::mc::Snapshot *mc_snapshot_t;
20 typedef simgrid::mc::Type *mc_type_t;
24 // Otherwise we use dummy opaque structs:
25 typedef struct _mc_snapshot_t *mc_snapshot_t;
26 typedef struct _s_mc_type_t *mc_type_t;