Liste des Groupes | Revenir à cl c |
On 21/03/2024 22:16, Lawrence D'Oliveiro wrote:
>On Thu, 21 Mar 2024 13:37:57 +0200, Mikko wrote:>
On 2024-03-21 06:19:13 +0000, Lawrence D'Oliveiro said:
>gdImageCopyResampled>
(
/*dst =*/ ResizedFrame,
/*src =*/ Context.StillFrame, /*dstX =*/ 0,
/*dstY =*/ 0,
/*srcX =*/ 0,
/*srcY =*/ 0,
/*dstW =*/ ResizedFrame->sx, /*dstH =*/ ResizedFrame->sy,
/*srcW =*/ Context.StillFrame->sx,
/*srcH =*/ Context.StillFrame->sy
);
I prefer to put the argument names at the end of the line.
But putting them in front of the values looks more like the syntax in
languages (like Ada and Python) that do allow specification of argument
keywords.And maybe, in future, if it becomes valid in C (or some successor),Why would you want your C code to look like Python?
then updating the code should be as simple as removing the comment
symbols.
Les messages affichés proviennent d'usenet.