Код
typedef struct
{
int d0;
int d1;
int d2;
} some_type_t;
...................................
some_type_t AAA;
...................................
static inline void some_function(some_type_t* a)
{
(void)a;
}
..................................
while(1)
{
some_function(&AAA);
}
{
int d0;
int d1;
int d2;
} some_type_t;
...................................
some_type_t AAA;
...................................
static inline void some_function(some_type_t* a)
{
(void)a;
}
..................................
while(1)
{
some_function(&AAA);
}
Со static, inline, void всё понятно.
Но что делает тело функции some_function с данными, переданными по указателю на AAA???