eina: use uintptr_t for Eina_Thread storage to be the same size for the different architectures.

This should not be an ABI regression on the platform where it work (Unix). It is on Windows,
but the API was unusable at all without this change, so this is a necessary breakage to
unbreak things.

@fix

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
This commit is contained in:
Nicolas Aguirre 2015-01-30 10:49:55 +01:00 committed by Cedric BAIL
parent b71229ac47
commit 0e671630f1
1 changed files with 3 additions and 1 deletions

View File

@ -23,6 +23,8 @@
#include "eina_types.h"
#include "eina_error.h"
#include <stdint.h>
/**
* @addtogroup Eina_Tools_Group Tools
*
@ -46,7 +48,7 @@
* @typedef Eina_Thread
* Type for a generic thread.
*/
typedef unsigned long int Eina_Thread;
typedef uintptr_t Eina_Thread;
/**
* @typedef Eina_Thread_Cb