File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -334,6 +334,10 @@ function SDL_fmodf(x, y: cfloat): cfloat; cdecl;
334334 * Calculate the natural logarithm of x.
335335 *
336336 * \since This function is available since SDL 2.0.4.
337+
338+ SDL2-for-Pascal: ATTENTION: The original C name of this function is SDL_log,
339+ but since Pascal names are case-insensitive, it is in conflict with SDL_Log (logging function).
340+ Hence we decided to rename it.
337341 *)
338342function SDL_nlog (x: cdouble): cdouble; cdecl;
339343 external SDL_LibName
@@ -343,6 +347,10 @@ function SDL_nlog(x: cdouble): cdouble; cdecl;
343347 * Calculate the natural logarithm of x.
344348 *
345349 * \since This function is available since SDL 2.0.8.
350+
351+ SDL2-for-Pascal: ATTENTION: The original C name of this function is SDL_logf,
352+ but to be consistent with the renamed SDL_log function (see comment of SDL_nlog
353+ for details), we decided to rename it.
346354 *)
347355function SDL_nlogf (x: cfloat): cfloat; cdecl;
348356 external SDL_LibName
You can’t perform that action at this time.
0 commit comments