X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/b8df87e176f27b25534f27d7e240defa32ca35bc..753d83c78594c3cce7d5ac35900af9b3a0ed31ca:/include/smpi/smpi_helpers_internal.h diff --git a/include/smpi/smpi_helpers_internal.h b/include/smpi/smpi_helpers_internal.h index 5a3e4b6a91..25a4f7093b 100644 --- a/include/smpi/smpi_helpers_internal.h +++ b/include/smpi/smpi_helpers_internal.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2018-2019. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2018-2021. 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. */ @@ -7,6 +7,8 @@ #define SMPI_HELPERS_INTERNAL_H #include +#include /* for getopt() on OpenIndiana, don't remove */ +#include /* for getopt() on OpenIndiana, don't remove */ #include #include @@ -32,6 +34,10 @@ int smpi_getopt_long(int argc, char* const* argv, const char* options, const str int* opt_index); int smpi_getopt(int argc, char* const* argv, const char* options); +void* smpi_shared_malloc_intercept(size_t size, const char* file, int line); +void* smpi_shared_calloc_intercept(size_t num_elm, size_t elem_size, const char* file, int line); +void* smpi_shared_realloc_intercept(void* data, size_t size, const char* file, int line); +void smpi_shared_free(void* data); #ifdef __cplusplus } // extern "C" #endif