summaryrefslogtreecommitdiff
path: root/src/lib/evas/include
diff options
context:
space:
mode:
authorCedric Bail <cedric.bail@samsung.com>2013-06-04 11:17:21 +0900
committerCedric Bail <cedric.bail@samsung.com>2013-06-04 11:22:13 +0900
commitd1bed386bd0457118b58ddddf2f5f37eb065b461 (patch)
treef8922f1d7c57f90131477b003094945f8a2a7b71 /src/lib/evas/include
parentad5d75dfcdda13a1136b8f850dab6235b42c5c0e (diff)
evas: correctly detect if loader support asynchronous preloading.
This is an astonishing bug, I wonder since how long it has been there. It is basically due to the use of void * and a wrong cast. Type checking is clearly useful, let's use it more !
Diffstat (limited to 'src/lib/evas/include')
-rw-r--r--src/lib/evas/include/evas_common.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/evas/include/evas_common.h b/src/lib/evas/include/evas_common.h
index 611529b6c6..5cd65946de 100644
--- a/src/lib/evas/include/evas_common.h
+++ b/src/lib/evas/include/evas_common.h
@@ -347,6 +347,8 @@ extern EAPI int _evas_log_dom_global;
347 347
348/*****************************************************************************/ 348/*****************************************************************************/
349 349
350#include "../file/evas_module.h"
351
350typedef unsigned long long DATA64; 352typedef unsigned long long DATA64;
351typedef unsigned int DATA32; 353typedef unsigned int DATA32;
352typedef unsigned short DATA16; 354typedef unsigned short DATA16;
@@ -593,8 +595,8 @@ struct _Image_Entry
593 595
594 struct 596 struct
595 { 597 {
596 void *module; 598 Evas_Module *module;
597 void *loader; 599 Evas_Image_Load_Func *loader;
598 } info; 600 } info;
599 601
600 LK(lock); 602 LK(lock);