Closed marenz2569 closed 6 years ago
Hey!
Nice changes overall, a bit cleaner, although I would really like it if we could get rid of the malloc
, allocating a single int
is not so nice, even though os_unix
does it too..
It should be rather trivial.
I renamed outmod to outmod_c as the variable outmod is now a extern pointer to the output module.
We have to pass a pointer to outmodno to the modules_init function to change its value outside the function. Doing this with &outmodno might also work, whilst int outmodno
is used.
Yes, doing it this way works.
Awesome, thanks.
Why the hell would you even bother having multiple pointers to outmod?
fixed vifino/sled#31