tiflolinux.org - GNU Social
  • Login

Bienvenido

  • Public

    • Public
    • Network
    • Groups
    • Popular
    • People

static inline bool _finished(couchTo5k_state_t *state){ return state->exercise_type == C25K_FINISHED; } static inline bool _cleared(couchTo5k_state_t *state){ return state->timer == C25K_SESSIONS[state->session][0] && state->exercise == 0; } static inline void _next_session(couchTo5k_state_t *state){ if (++state->session >= C25K_SESSIONS_LENGTH){ state->session = 0; } }

Download link

https://files.mastodon.social/media_attachments/files/111/268/340/430/719/588/original/57d84fe9cd0b0c96.png

Notices where this attachment appears

  1. Ekaitz Zárraga 👹 (ekaitz_zarraga@mastodon.social)'s status on Friday, 20-Oct-2023 18:44:19 CEST Ekaitz Zárraga 👹 Ekaitz Zárraga 👹

    @arnelson
    Probably something like this: short functions with obvious names.

    In conversation Friday, 20-Oct-2023 18:44:19 CEST from mastodon.social permalink
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

tiflolinux.org - GNU Social is a social network, courtesy of tiflolinux.org. It runs on GNU social, version 2.0.1-beta0, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All tiflolinux.org - GNU Social content and data are available under the Creative Commons Attribution 3.0 license.