tiflolinux.org - GNU Social
  • Login

Bienvenido

  • Public

    • Public
    • Network
    • Groups
    • Popular
    • People

Conversation

Notices

  1. Ekaitz Zárraga 👹 (ekaitz_zarraga@mastodon.social)'s status on Sunday, 22-Oct-2023 16:34:12 CEST Ekaitz Zárraga 👹 Ekaitz Zárraga 👹
    • jartigag
    • zital

    @jartigag @zital La flecha es un acceso a un miembro de la estructura a la que el puntero state apunta.

    typedef struct {int a;} STRUCTURA;

    STRUCTURA my_struct;
    my_struct.a // es el campo a de la estructura.

    STRUCTURA *puntero;
    puntero = &my_struct;
    puntero->a // es el campo a de la estuctura

    `state` en el programa es el estado de tu watch-face. Te lo dan ellos como argumento de entrada a la funcion, pero es un puntero a tu estructura de datos.

    In conversation Sunday, 22-Oct-2023 16:34:12 CEST from mastodon.social permalink

    Feeds

    • Activity Streams
    • RSS 2.0
    • Atom
    • 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.