summaryrefslogtreecommitdiff
path: root/src/lib/ecore_ipc/Ecore_Ipc.h
diff options
context:
space:
mode:
authorCedric Bail <cedric.bail@samsung.com>2013-10-02 18:32:18 +0900
committerCedric Bail <cedric.bail@samsung.com>2013-10-02 20:54:50 +0900
commit672bd97cea1c9b3cde4b687de18c0a907a3f3587 (patch)
treefc6200e55e5f62bfbe5250407d271d93709cc1c9 /src/lib/ecore_ipc/Ecore_Ipc.h
parentff3d2a68d5762ec6bed88f97f2a3751bb51caf86 (diff)
ecore_ipc: use the new eina_swap*().
Diffstat (limited to 'src/lib/ecore_ipc/Ecore_Ipc.h')
-rw-r--r--src/lib/ecore_ipc/Ecore_Ipc.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/lib/ecore_ipc/Ecore_Ipc.h b/src/lib/ecore_ipc/Ecore_Ipc.h
index f77870f84d..4679b4a87b 100644
--- a/src/lib/ecore_ipc/Ecore_Ipc.h
+++ b/src/lib/ecore_ipc/Ecore_Ipc.h
@@ -41,17 +41,17 @@ extern "C" {
41typedef struct _Ecore_Ipc_Server Ecore_Ipc_Server; /**< An IPC connection handle */ 41typedef struct _Ecore_Ipc_Server Ecore_Ipc_Server; /**< An IPC connection handle */
42typedef struct _Ecore_Ipc_Client Ecore_Ipc_Client; /**< An IPC connection handle */ 42typedef struct _Ecore_Ipc_Client Ecore_Ipc_Client; /**< An IPC connection handle */
43 43
44EAPI unsigned short _ecore_ipc_swap_16(unsigned short v); 44EAPI unsigned short _ecore_ipc_swap_16(unsigned short v) EINA_DEPRECATED;
45EAPI unsigned int _ecore_ipc_swap_32(unsigned int v); 45EAPI unsigned int _ecore_ipc_swap_32(unsigned int v) EINA_DEPRECATED;
46EAPI unsigned long long _ecore_ipc_swap_64(unsigned long long v); 46EAPI unsigned long long _ecore_ipc_swap_64(unsigned long long v) EINA_DEPRECATED;
47 47
48#ifdef WORDS_BIGENDIAN 48#ifdef WORDS_BIGENDIAN
49#define ECORE_IPC_SWAP2NET64(x) _ecore_ipc_swap_64(x) 49#define ECORE_IPC_SWAP2NET64(x) eina_swap64(x)
50#define ECORE_IPC_SWAP2CPU64(x) _ecore_ipc_swap_64(x) 50#define ECORE_IPC_SWAP2CPU64(x) eina_swap64(x)
51#define ECORE_IPC_SWAP2NET32(x) _ecore_ipc_swap_32(x) 51#define ECORE_IPC_SWAP2NET32(x) eina_swap32(x)
52#define ECORE_IPC_SWAP2CPU32(x) _ecore_ipc_swap_32(x) 52#define ECORE_IPC_SWAP2CPU32(x) eina_swap32(x)
53#define ECORE_IPC_SWAP2NET16(x) _ecore_ipc_swap_16(x) 53#define ECORE_IPC_SWAP2NET16(x) eina_swap16(x)
54#define ECORE_IPC_SWAP2CPU16(x) _ecore_ipc_swap_16(x) 54#define ECORE_IPC_SWAP2CPU16(x) eina_swap16(x)
55#define ECORE_IPC_SWAP2NET8(x) (x) 55#define ECORE_IPC_SWAP2NET8(x) (x)
56#define ECORE_IPC_SWAP2CPU8(x) (x) 56#define ECORE_IPC_SWAP2CPU8(x) (x)
57#else 57#else