View Single Post
09-21-12, 09:48 PM   #39
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
Addons embedding LibResInfo also need to embed LibStub and CallbackHandler. That's how every embeddable library works. An addon that uses AceAddon, AceDB, AceOptions, AceEvent, AceGUI, AceConfig, and AceTimer doesn't include 7 copies of LibStub (one inside each embedded lib); it just includes one (one alongside the other libs). Embeddable libraries should never be including their own dependencies, or you'll end up with an enormous number of duplicate files in a single addon. Authors using libraries simply need to pay attention and make sure they include everything their addon and the libraries it uses need.
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
  Reply With Quote