So say I have a function like this:
int doSomeStuff(
const SomeStruct *myStruct
)
And SomeStruct
is defined like this:
typedef struct SomeStruct {
char data[16];
int num;
bool whatever;
} SomeStruct;
...How do I properly declare an instance of SomeStruct
and feed it into doSomeStuff()
?
Something like
should work.