typedef struct my_func_outputs_t{
int x;
int y;
}my_func_outputs_t;
my_func_outputs_t my_func(int a, int b)
{
my_func_outputs_t o;
o.x = a;
o.y = b;
return o;
}
do
void my_func(int a, int b, int* x, int* y)
{
*x = a;
*y = b;
}
Thanks suarezvictor and bartus for pushing for these ideas - I am still a little uneasy about it though :sweat_smile:
Ex. as opposed to
do
Thanks suarezvictor and bartus for pushing for these ideas - I am still a little uneasy about it though :sweat_smile: