From 9e0d4626d3d0b6c122e33cdc3e509ba106605903 Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Sat, 23 Jan 2016 22:17:45 +0100 Subject: [PATCH] kill some more dead code from the C API to surf --- src/include/surf/surf.h | 30 ------------------------------ src/surf/surf_c_bindings.cpp | 16 ---------------- 2 files changed, 46 deletions(-) diff --git a/src/include/surf/surf.h b/src/include/surf/surf.h index d46f2351c4..0cc2122543 100644 --- a/src/include/surf/surf.h +++ b/src/include/surf/surf.h @@ -528,36 +528,6 @@ XBT_PUBLIC(double) surf_action_get_finish_time(surf_action_t action); */ XBT_PUBLIC(double) surf_action_get_remains(surf_action_t action); -/** - * @brief Suspend an action - * - * @param action The surf action - */ -XBT_PUBLIC(void) surf_action_suspend(surf_action_t action); - -/** - * @brief Resume an action - * - * @param action The surf action - */ -XBT_PUBLIC(void) surf_action_resume(surf_action_t action); - -/** - * @brief Cancel an action - * - * @param action The surf action - */ -XBT_PUBLIC(void) surf_action_cancel(surf_action_t action); - -/** - * @brief Set the priority of an action - * @details [long description] - * - * @param action The surf action - * @param priority The new priority [TODO] - */ -XBT_PUBLIC(void) surf_action_set_priority(surf_action_t action, double priority); - /** * @brief Set the category of an action * @details [long description] diff --git a/src/surf/surf_c_bindings.cpp b/src/surf/surf_c_bindings.cpp index d9b620df52..74b5554864 100644 --- a/src/surf/surf_c_bindings.cpp +++ b/src/surf/surf_c_bindings.cpp @@ -357,22 +357,6 @@ double surf_action_get_remains(surf_action_t action){ return action->getRemains(); } -void surf_action_suspend(surf_action_t action){ - action->suspend(); -} - -void surf_action_resume(surf_action_t action){ - action->resume(); -} - -void surf_action_cancel(surf_action_t action){ - action->cancel(); -} - -void surf_action_set_priority(surf_action_t action, double priority){ - action->setPriority(priority); -} - void surf_action_set_category(surf_action_t action, const char *category){ action->setCategory(category); } -- 2.20.1