Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
The parenthesis of SG_BEGIN_DECL fools doxygen. Get rid of them
[simgrid.git] / src / include / mc / datatypes.h
1 /* Copyright (c) 2008-2019. The SimGrid Team. All rights reserved.          */
2
3 /* This program is free software; you can redistribute it and/or modify it
4  * under the terms of the license (GNU LGPL) which comes with this package. */
5
6 #ifndef MC_DATATYPE_H
7 #define MC_DATATYPE_H
8
9 #include <src/internal_config.h>
10 #include <xbt/base.h>
11
12 #if HAVE_UCONTEXT_H
13 #include <ucontext.h>
14 #endif
15
16 SG_BEGIN_DECL
17
18 struct s_stack_region{
19   void *address;
20 #if HAVE_UCONTEXT_H
21   ucontext_t* context;
22 #endif
23   size_t size;
24   int block;
25 };
26 typedef struct s_stack_region  s_stack_region_t;
27
28 SG_END_DECL
29
30 #endif