egl: Remove unused casting functions.
_eglUIntToPointer and _eglPointerToUInt are no longer used.
This commit is contained in:
@@ -180,25 +180,4 @@ _eglIsResourceLinked(_EGLResource *res)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Cast an unsigned int to a pointer.
|
|
||||||
*/
|
|
||||||
static INLINE void *
|
|
||||||
_eglUIntToPointer(unsigned int v)
|
|
||||||
{
|
|
||||||
return (void *) ((uintptr_t) v);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Cast a pointer to an unsigned int. The pointer must be one that is
|
|
||||||
* returned by _eglUIntToPointer.
|
|
||||||
*/
|
|
||||||
static INLINE unsigned int
|
|
||||||
_eglPointerToUInt(const void *p)
|
|
||||||
{
|
|
||||||
return (unsigned int) ((uintptr_t) p);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
#endif /* EGLDISPLAY_INCLUDED */
|
#endif /* EGLDISPLAY_INCLUDED */
|
||||||
|
Reference in New Issue
Block a user