Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add new entry in Release_Notes.
[simgrid.git] / include / xbt / module.h
1 /* module - modularize the code                                             */
2
3 /* Copyright (c) 2004-2023. The SimGrid Team. All rights reserved.          */
4
5 /* This program is free software; you can redistribute it and/or modify it
6  * under the terms of the license (GNU LGPL) which comes with this package. */
7
8 #ifndef XBT_MODULE_H
9 #define XBT_MODULE_H
10
11 // Deprecation warning on include (remove entire file with XBT_ATTRIB_DEPRECATED_v338)
12 #warning xbt/module.h is deprecated and will be removed after v3.37.
13
14 #include <simgrid/engine.h>
15 #include <xbt/base.h>
16
17 SG_BEGIN_DECL
18
19 XBT_ATTRIB_DEPRECATED_v338("Please use simgrid_init(&argc, argv) instead") static void xbt_init(int* argc, char** argv)
20 {
21   simgrid_init(argc, argv);
22 }
23
24 SG_END_DECL
25
26 #endif /* XBT_MODULE_H */