diff --git a/src/runner/instance.rs b/src/runner/instance.rs index 0668e38..2e748ca 100644 --- a/src/runner/instance.rs +++ b/src/runner/instance.rs @@ -338,6 +338,7 @@ macro_rules! cf{ }; } type FPointer=fn(&mlua::Lua,mlua::MultiValue)->mlua::Result; +// TODO: use macros to define these with better organization /// A double hash map of function pointers. /// The class tree is walked by the Instance.__index metamethod to find available class methods. static CLASS_FUNCTION_DATABASE:phf::Map<&str,phf::Map<&str,FPointer>>=phf::phf_map!{