]> AND Public Git Repository - simgrid.git/blobdiff - src/surf/xml/platf.hpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix double-free.
[simgrid.git] / src / surf / xml / platf.hpp
index 262ffe381d8e31eb46fb312808c6c9659803b975..e87645bcbcbe3e9a05a0746f5590a229cdf8ebe6 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2006-2021. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2006-2022. 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. */
@@ -25,5 +25,6 @@ XBT_PUBLIC double surf_parse_get_double(const std::string& s);
 XBT_PUBLIC int surf_parse_get_int(const std::string& s);
 
 XBT_PUBLIC void surf_parse(); /* Entry-point to the parser */
+XBT_PUBLIC void parse_platform_file(const std::string& file);
 
 #endif