pokeheartgold icon indicating copy to clipboard operation
pokeheartgold copied to clipboard

Decide on pointer-star alignment for function return types

Open lhearachel opened this issue 2 years ago • 2 comments

We already have consensus on pointer-star alignment for variable declarations, e.g.:

Pokemon *mon;
void ZeroMonData(Pokemon *mon);

I don't see any consensus on pointer-star alignment for function return types. Three options:

Pokemon * AllocMonZeroed(u32 heapID);
// vs
Pokemon* AllocMonZeroed(u32 heapID);
// vs
Pokemon *AllocMonZeroed(u32 heapID);

lhearachel avatar Sep 05 '23 14:09 lhearachel

IMO this (and all pointer star alignments) should be the same as we already decided

red031000 avatar Oct 13 '23 19:10 red031000

This issue has had no activity for 60 days and will be marked stale. If there is no further activity, it will be closed in 30 days.

github-actions[bot] avatar Aug 11 '24 00:08 github-actions[bot]