Results 18 comments of Matthias
trafficstars

> I understand it. And that's why I suggest you to use `{$MODESWITCH ADVANCEDRECORDS}` and mark all record fields as `private`. This will make pointers to structures opaque, and you...

> There is also no advantage of declaring the type TSDL_Window at all, since only a pointer is used in the headers. In principle I agree, see also this [convert...

I understand your point and, as written before, in principle I agree, too. I would like to wait for @suve 's opinion on this issue.

@bunnylin Thanks for this detailed report and the solution. > hiding `SDL_CreateRenderer()` behind a Pascal function [...] but I feel that this could be seen as invasive. @suve It seems...

> The visibility may still be preferable... the hint only appears when the unit is compiled, and during normal development you're unlikely to rebuild every unit after each change. The...

Which of these solutions do you prefer and why?

I agree with your point. Usually we try to stay as close to the original code as possible. In this instance though it is potentially confusing. Not only for C...