mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-16 05:13:58 -07:00
- Store the functions in an unordered_map. A no-container implementation is doable but likely not worth the added code complexity, maybe with C++20 - Move more things into the _impl.h - Clear out the un-necessary friends declaration in the specific types by moving the functions to the public interface, which makes sense. - Fix a memory leak (JS::PersistentRootedObject weren't deleted). This doesn't change what one needs to do to add a new type, but it does reduce the actual code that's necessary, and makes it less error prone. Differential Revision: https://code.wildfiregames.com/D3214 This was SVN commit r24384. |
||
|---|---|---|
| .. | ||
| GuiScriptConversions.cpp | ||
| JSInterface_CButton.cpp | ||
| JSInterface_CList.cpp | ||
| JSInterface_CText.cpp | ||
| JSInterface_GUIManager.cpp | ||
| JSInterface_GUIManager.h | ||
| JSInterface_GUIProxy.h | ||
| JSInterface_GUIProxy_impl.h | ||
| JSInterface_GUISize.cpp | ||
| JSInterface_GUISize.h | ||
| JSInterface_IGUIObject.cpp | ||
| ScriptFunctions.cpp | ||
| ScriptFunctions.h | ||