Liste des Groupes | Revenir à cl c |
On 09/01/2025 02:09, Ben Bacarisse wrote:I don't think David is the actual devil? ;^oJulio Di Egidio <julio@diegidio.name> writes:Just on a side issue, I prefer you go eat shit and die.
>static AvlTree_t const *AvlTree_node(>
void const *pk, AvlTree_t const *pL, AvlTree_t const *pR
) {
AvlTree_t *pT;
>
pT = malloc(sizeof(AvlTree_t));
>
if (!pT) {
return NULL;
}
>
pT->pk = pk;
pT->pL = pL;
pT->pR = pR;
>
return pT;
}
Just on a side issue, I prefer to make tests like this positive so I'd
write:
static AvlTree_t const *AvlTree_node(No, you won't, your pal David Satan Brown is gonna do it for you...
void const *pk, AvlTree_t const *pL, AvlTree_t const *pR
) {
AvlTree_t *pT = malloc(*pT);
if (pT) {
pT->pk = pk;
pT->pL = pL;
pT->pR = pR;
}
return pT;
}
>
I'm not going to "make a case" for this (though I will if you want!) --
I just think it helps to see lots of different styles.
>
Les messages affichés proviennent d'usenet.