Originally Posted by Rainrider
It seems strange however how much is so open and so accessible.
|
I'm not entirely sure what you're afraid of might happen here, someone might make an addon that modifies how yours behaves? The only time that happens is when someone is trying to fix something that's wrong with your addon or augment its behavior.
If you're worried about access through libstub and libcallbackhandler, don't use libstub and libcallbackhandler.
You're making a library, so you have to provide global access to the functions that you expect people to be able to use, which means they can be overwritten by another addon regardless of what you do.