2013-01-14 13:28:42 +00:00
|
|
|
#ifndef _PAYSAGES_TOOLS_MEMORY_H_
|
|
|
|
#define _PAYSAGES_TOOLS_MEMORY_H_
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Memory tools.
|
|
|
|
*/
|
|
|
|
|
2013-10-20 14:47:59 +00:00
|
|
|
#include "../rendering_global.h"
|
|
|
|
|
2013-01-14 13:28:42 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2013-10-20 14:47:59 +00:00
|
|
|
RENDERINGSHARED_EXPORT void* memory2dRealloc(void* data, int datasize, int oldxsize, int oldysize, int newxsize, int newysize, int xoffset, int yoffset);
|
|
|
|
RENDERINGSHARED_EXPORT void memory2dScrolling(void* data, int datasize, int xsize, int ysize, int xoffset, int yoffset);
|
2013-01-14 13:28:42 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|