core: GP_TempAlloc.c: Add simpler interface.
core: GP_TempAlloc.c: Add simpler interface.

Add GP_TempAlloc() and GP_TempFree() to be used for single temporary
allocations.

Also adds GP_TempAllocArr(self, type, len) to allocate len size array of
type members.

Signed-off-by: Cyril Hrubis <b1e90efd3b808b8e0bcf2a9a55fd8b9a779bfd81@ucw.cz>

gfxprim/gfxprim,gfxprim/gfxprim,gfxprim/gfxprim,gfxprim/gfxprim,gfxprim/gfxprim