PascalGameDevelopment/SDL2-for-Pascal

TODO: add missing "SDL_GetMemoryFunctions" procedure (SDL 2.0.7)

flowCRANE opened this issue · 1 comments

In the SDL 2.0.7, the function SDL_GetMemoryFunctions was introduced. There is a lack of import of it. It would be good to add not only the import of this function, but also type declarations of templates of the functions to which the SDL_GetMemoryFunctions returns pointers. Something like:

type
  TSDL_MallocFunc = function(size: csize_t): pointer; cdecl;
suve commented

Leaving this comment to let anyone interested know I'm currently looking into updating sdlstdinc.inc, so we don't end up duplicating work.