pond3r/ggpo

Style questions

lvenerosy opened this issue · 0 comments

Granted I have never done extensive C style programming, it might be my lack of familiarity talking.

  • what use is that empty struct
    } local;
    I found some info about tagging structs but I'm not sure that's what is happening here.
  • is there a reason to return a GGPOErrorCode when there is only one return value possible? Maybe for async uses?
  • while (Pump(100)) {
    I've seen these kinds of while in a few places, and they scare me :p