summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2015-04-28 16:52:48 +0200
committerCedric BAIL <cedric@osg.samsung.com>2015-05-07 09:53:11 +0200
commit61e271890731a8563544cc7dfcae40ab00dc35b2 (patch)
tree6b1180e023ca83cf728e8551b54316ad8769b2b3 /src
parent24b14b408e26fb215af884b2b5d3f0430e23749d (diff)
ethumb: remove the need to order the header correctly for Windows.
Diffstat (limited to 'src')
-rw-r--r--src/lib/ethumb/Ethumb.h7
-rw-r--r--src/lib/ethumb_client/Ethumb_Client.h12
2 files changed, 12 insertions, 7 deletions
diff --git a/src/lib/ethumb/Ethumb.h b/src/lib/ethumb/Ethumb.h
index 5d1fb0c31c..2e497e19e8 100644
--- a/src/lib/ethumb/Ethumb.h
+++ b/src/lib/ethumb/Ethumb.h
@@ -565,7 +565,7 @@ EAPI Eina_Bool ethumb_cmp(const Ethumb *e1, const Ethumb *e2) EINA_ARG_NONNULL(1
565 565
566EAPI int ethumb_hash(const void *key, int key_length) EINA_ARG_NONNULL(1) EINA_WARN_UNUSED_RESULT EINA_PURE; 566EAPI int ethumb_hash(const void *key, int key_length) EINA_ARG_NONNULL(1) EINA_WARN_UNUSED_RESULT EINA_PURE;
567EAPI int ethumb_key_cmp(const void *key1, int key1_length, 567EAPI int ethumb_key_cmp(const void *key1, int key1_length,
568 const void *key2, int key2_length) EINA_ARG_NONNULL(1, 3) EINA_WARN_UNUSED_RESULT EINA_PURE; 568 const void *key2, int key2_length) EINA_ARG_NONNULL(1, 3) EINA_WARN_UNUSED_RESULT EINA_PURE;
569EAPI unsigned int ethumb_length(const void *key) EINA_PURE EINA_WARN_UNUSED_RESULT; 569EAPI unsigned int ethumb_length(const void *key) EINA_PURE EINA_WARN_UNUSED_RESULT;
570 570
571 /** 571 /**
@@ -575,8 +575,11 @@ EAPI unsigned int ethumb_length(const void *key) EINA_PURE EINA_WARN_UNUSED_RESU
575/** 575/**
576 * @} 576 * @}
577 */ 577 */
578
579#ifdef __cplusplus 578#ifdef __cplusplus
580} 579}
581#endif 580#endif
581
582#undef EAPI
583#define EAPI
584
582#endif /* __ETHUMB_H__ */ 585#endif /* __ETHUMB_H__ */
diff --git a/src/lib/ethumb_client/Ethumb_Client.h b/src/lib/ethumb_client/Ethumb_Client.h
index 3c3f95d87e..1ec8178c37 100644
--- a/src/lib/ethumb_client/Ethumb_Client.h
+++ b/src/lib/ethumb_client/Ethumb_Client.h
@@ -201,9 +201,9 @@ typedef void (*Ethumb_Client_Async_Error_Cb)(Ethumb_Client *ethumbd, void *data)
201typedef struct _Ethumb_Client_Async Ethumb_Client_Async; 201typedef struct _Ethumb_Client_Async Ethumb_Client_Async;
202 202
203EAPI Ethumb_Client_Async *ethumb_client_thumb_async_get(Ethumb_Client *client, 203EAPI Ethumb_Client_Async *ethumb_client_thumb_async_get(Ethumb_Client *client,
204 Ethumb_Client_Async_Done_Cb done, 204 Ethumb_Client_Async_Done_Cb done,
205 Ethumb_Client_Async_Error_Cb error, 205 Ethumb_Client_Async_Error_Cb error,
206 const void *data); 206 const void *data);
207EAPI void ethumb_client_thumb_async_cancel(Ethumb_Client *client, Ethumb_Client_Async *request); 207EAPI void ethumb_client_thumb_async_cancel(Ethumb_Client *client, Ethumb_Client_Async *request);
208 /** 208 /**
209 * @} 209 * @}
@@ -212,9 +212,11 @@ EAPI void ethumb_client_thumb_async_cancel(Ethumb_Client *client, Ethumb_Client_
212/** 212/**
213 * @} 213 * @}
214 */ 214 */
215
216
217#ifdef __cplusplus 215#ifdef __cplusplus
218} 216}
219#endif 217#endif
218
219#undef EAPI
220#define EAPI
221
220#endif /* __ETHUMB_CLIENT_H__ */ 222#endif /* __ETHUMB_CLIENT_H__ */