Sam Lantinga
316ff3847b
Fixed bug 4526 - replace SDL_RW* macros with functions for using in bindings
...
ace
I got this bug in SDL_ttf:
https://bugzilla.libsdl.org/show_bug.cgi?id=4524
Sylvain proposed solution:
SDL_RWseek(RWops, 0, RW_SEEK_SET);
And it works, but i can use it my project, because it written in C# with SDL2-CS wrapper and there not export for macroses:
#define SDL_RWsize(ctx) (ctx)->size(ctx)
#define SDL_RWseek(ctx, offset, whence) (ctx)->seek(ctx, offset, whence)
#define SDL_RWtell(ctx) (ctx)->seek(ctx, 0, RW_SEEK_CUR)
#define SDL_RWread(ctx, ptr, size, n) (ctx)->read(ctx, ptr, size, n)
#define SDL_RWwrite(ctx, ptr, size, n) (ctx)->write(ctx, ptr, size, n)
#define SDL_RWclose(ctx) (ctx)->close(ctx)
Therefore, I suggest replacing this macros with functions so that they can be exported and used in bindings
2019-06-08 17:43:23 -07:00
..
2019-01-04 22:01:14 -08:00
2019-01-04 22:01:14 -08:00
2019-01-04 22:01:14 -08:00
2019-01-04 22:01:14 -08:00
2019-01-04 22:01:14 -08:00
2019-01-04 22:01:14 -08:00
2019-01-04 22:01:14 -08:00
2019-01-04 22:01:14 -08:00
2019-01-12 12:18:44 -08:00
2019-01-04 22:01:14 -08:00
2019-01-04 22:01:14 -08:00
2019-01-04 22:01:14 -08:00
2019-01-04 22:01:14 -08:00
2019-01-04 22:01:14 -08:00
2019-01-04 22:01:14 -08:00
2019-01-04 22:01:14 -08:00
2019-01-04 22:01:14 -08:00
2019-01-04 22:01:14 -08:00
2019-01-04 22:01:14 -08:00
2019-04-23 07:59:31 -07:00
2019-04-23 07:59:31 -07:00
2019-01-04 22:01:14 -08:00
2019-06-08 14:54:37 -07:00
2019-01-04 22:01:14 -08:00
2019-01-04 22:01:14 -08:00
2019-01-04 22:01:14 -08:00
2019-01-04 22:01:14 -08:00
2019-01-04 22:01:14 -08:00
2019-01-04 22:01:14 -08:00
2019-01-04 22:01:14 -08:00
2019-01-04 22:01:14 -08:00
2019-04-05 08:10:12 -07:00
2019-01-04 22:01:14 -08:00
2019-01-04 22:01:14 -08:00
2019-01-04 22:01:14 -08:00
2019-01-04 22:01:14 -08:00
2019-01-04 22:01:14 -08:00
2019-03-19 10:59:41 -07:00
2019-01-04 22:01:14 -08:00
2019-01-04 22:01:14 -08:00
2019-01-04 22:01:14 -08:00
2019-01-04 22:01:14 -08:00
2015-06-21 17:33:46 +02:00
2019-01-04 22:01:14 -08:00
2015-06-21 17:33:46 +02:00
2015-06-21 17:33:46 +02:00
2015-06-21 17:33:46 +02:00
2015-06-21 17:33:46 +02:00
2019-01-04 22:01:14 -08:00
2019-01-04 22:01:14 -08:00
2019-01-04 22:01:14 -08:00
2019-01-04 22:01:14 -08:00
2019-01-04 22:01:14 -08:00
2019-01-04 22:01:14 -08:00
2019-01-04 22:01:14 -08:00
2019-01-04 22:01:14 -08:00
2017-09-29 10:15:44 -07:00
2019-06-08 17:43:23 -07:00
2019-01-04 22:01:14 -08:00
2019-01-04 22:01:14 -08:00
2019-01-04 22:01:14 -08:00
2019-01-04 22:01:14 -08:00
2019-02-04 08:34:24 +01:00
2019-01-04 22:01:14 -08:00
2019-01-04 22:01:14 -08:00
2019-01-04 22:01:14 -08:00
2019-05-28 17:39:13 -04:00
2019-01-04 22:01:14 -08:00
2019-01-04 22:01:14 -08:00
2019-01-04 22:01:14 -08:00
2019-01-04 22:01:14 -08:00
2019-01-04 22:01:14 -08:00
2019-01-04 22:01:14 -08:00
2019-01-04 22:01:14 -08:00
2019-01-04 22:01:14 -08:00
2019-01-04 22:01:14 -08:00
2019-01-04 22:01:14 -08:00
2019-01-04 22:01:14 -08:00
2019-01-04 22:01:14 -08:00
2019-01-04 22:01:14 -08:00
2019-04-04 16:51:50 +02:00
2019-01-04 22:01:14 -08:00
2019-01-04 22:01:14 -08:00
2019-01-04 22:01:14 -08:00
2018-08-24 09:49:48 -04:00
2019-01-04 22:01:14 -08:00