From ba652a103b7d1528b3fd1938477ab08d6f2dc322 Mon Sep 17 00:00:00 2001 From: doursse Date: Sat, 3 Feb 2007 17:59:05 +0000 Subject: [PATCH] add some const SVN revision: 28222 --- legacy/ecore/src/lib/ecore/Ecore_Data.h | 4 ++-- legacy/ecore/src/lib/ecore/ecore_plugin.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/legacy/ecore/src/lib/ecore/Ecore_Data.h b/legacy/ecore/src/lib/ecore/Ecore_Data.h index 7225b0eb93..92cf6ed595 100644 --- a/legacy/ecore/src/lib/ecore/Ecore_Data.h +++ b/legacy/ecore/src/lib/ecore/Ecore_Data.h @@ -317,7 +317,7 @@ extern "C" { /* * Load the specified plugin */ - EAPI Ecore_Plugin *ecore_plugin_load(int group_id, char *plugin); + EAPI Ecore_Plugin *ecore_plugin_load(int group_id, const char *plugin); /* * Unload the specified plugin @@ -327,7 +327,7 @@ extern "C" { /* * Lookup the specified symbol for the plugin */ - EAPI void *ecore_plugin_call(Ecore_Plugin * plugin, char *symbol_name); + EAPI void *ecore_plugin_call(Ecore_Plugin * plugin, const char *symbol_name); EAPI Ecore_List *ecore_plugin_get_available(int group_id); diff --git a/legacy/ecore/src/lib/ecore/ecore_plugin.c b/legacy/ecore/src/lib/ecore/ecore_plugin.c index d07731954c..ea00a63692 100644 --- a/legacy/ecore/src/lib/ecore/ecore_plugin.c +++ b/legacy/ecore/src/lib/ecore/ecore_plugin.c @@ -20,7 +20,7 @@ static Ecore_List *loaded_plugins = NULL; * @ingroup Ecore_Plugin */ EAPI Ecore_Plugin * -ecore_plugin_load(int group_id, char *plugin_name) +ecore_plugin_load(int group_id, const char *plugin_name) { char *path; char temp[PATH_MAX]; @@ -97,7 +97,7 @@ ecore_plugin_unload(Ecore_Plugin *plugin) * @ingroup Ecore_Plugin */ EAPI void * -ecore_plugin_call(Ecore_Plugin *plugin, char *symbol_name) +ecore_plugin_call(Ecore_Plugin *plugin, const char *symbol_name) { void *ret;