News for hackers. Stuff that matters.
Re:Printf(“%s %s”, dependency, injection) by jppittma on Tuesday October 19, 2021 @05:55AM (#28916481)
I’ll hold the rescale image function as a function pointer and only call vía that pointer when I want to rescale. If you give me a new one via a plug-in or dll, I’ll set the value of the rescale function to your function.
Re:Printf(“%s %s”, dependency, injection) by jcelerier on Tuesday October 19, 2021 @08:22AM (#28917301)
Yes, and you are going to store the function pointers somewhere in your code right ? To show a GUI menu to your users with all the available plugins