From c35d6b68085fdc3ea254d6b560e696671d240a93 Mon Sep 17 00:00:00 2001 From: Quaternions Date: Sat, 5 Oct 2024 22:30:17 -0700 Subject: [PATCH] split type onto multiple lines --- src/runner/instance.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/runner/instance.rs b/src/runner/instance.rs index b088f38..5dbb679 100644 --- a/src/runner/instance.rs +++ b/src/runner/instance.rs @@ -345,7 +345,12 @@ type ClassFunctionPointer=fn(&mlua::Lua,mlua::MultiValue)->mlua::Result>=phf::phf_map!{ +type CFD=phf::Map<&'static str, + phf::Map<&'static str, + ClassFunctionPointer + > +>; +static CLASS_FUNCTION_DATABASE:CFD=phf::phf_map!{ "DataModel"=>phf::phf_map!{ "GetService"=>cf!(|lua,_this,service:mlua::String|{ dom_mut(lua,|dom|{