Enlightenment CVS committal Author : raster Project : e17 Module : libs/ecore
Dir : e17/libs/ecore/src/lib/ecore_ipc Modified Files: Ecore_Ipc.h ecore_ipc.c Log Message: how the fuck didnt that work before! =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_ipc/Ecore_Ipc.h,v retrieving revision 1.10 retrieving revision 1.11 diff -u -3 -r1.10 -r1.11 --- Ecore_Ipc.h 12 May 2005 13:52:44 -0000 1.10 +++ Ecore_Ipc.h 12 May 2005 14:45:15 -0000 1.11 @@ -35,6 +35,10 @@ /** * Macros used for generic data packing */ +EAPI unsigned short _ecore_ipc_swap_16(unsigned short v); +EAPI unsigned int _ecore_ipc_swap_32(unsigned int v); +EAPI unsigned long long _ecore_ipc_swap_64(unsigned long long v); + #ifdef WORDS_BIGENDIAN #define ECORE_IPC_SWAP2NET64(x) _ecore_ipc_swap_64(x) #define ECORE_IPC_SWAP2CPU64(x) _ecore_ipc_swap_64(x) =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_ipc/ecore_ipc.c,v retrieving revision 1.19 retrieving revision 1.20 diff -u -3 -r1.19 -r1.20 --- ecore_ipc.c 29 Apr 2005 04:58:55 -0000 1.19 +++ ecore_ipc.c 12 May 2005 14:45:15 -0000 1.20 @@ -29,7 +29,7 @@ #define DLT_R2 15 /* byte swappers - for dealing with big vs little endian machines */ -static unsigned short +unsigned short _ecore_ipc_swap_16(unsigned short v) { unsigned char *s, t; @@ -39,7 +39,7 @@ return v; } -static unsigned int +unsigned int _ecore_ipc_swap_32(unsigned int v) { unsigned char *s, t; @@ -50,7 +50,7 @@ return v; } -static unsigned long long +unsigned long long _ecore_ipc_swap_64(unsigned long long v) { unsigned char *s, t; ------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs