ecore: efl_loop_future_scheduler_get actually should be considered a const method.

This commit is contained in:
Cedric BAIL 2018-01-03 11:35:08 -08:00
parent c19ef91020
commit b8ab0ca1f5
3 changed files with 3 additions and 3 deletions

View File

@ -62,7 +62,7 @@ EAPI int efl_loop_exit_code_process(Eina_Value *value);
#include "efl_loop_consumer.eo.h"
EAPI Eina_Future_Scheduler *efl_loop_future_scheduler_get(Eo *obj);
EAPI Eina_Future_Scheduler *efl_loop_future_scheduler_get(const Eo *obj);
#include "efl_loop_fd.eo.h"
#include "efl_loop_handler.eo.h"

View File

@ -107,7 +107,7 @@ struct _Message
struct _Efl_Loop_Future_Scheduler
{
Eina_Future_Scheduler eina_future_scheduler;
Eo *loop;
const Eo *loop;
Efl_Loop_Data *loop_data;
};

View File

@ -715,7 +715,7 @@ _efl_loop_efl_version_get(Eo *obj EINA_UNUSED, Efl_Loop_Data *pd EINA_UNUSED)
}
EAPI Eina_Future_Scheduler *
efl_loop_future_scheduler_get(Eo *obj)
efl_loop_future_scheduler_get(const Eo *obj)
{
if (!obj) return NULL;