Compare commits
5 Commits
00c8699933
...
bf6e169126
Author | SHA1 | Date | |
---|---|---|---|
bf6e169126 | |||
f259022666 | |||
52b4b12b43 | |||
25577211b2 | |||
fe91de5668 |
@ -275,7 +275,8 @@ impl mlua::UserData for Instance{
|
|||||||
};
|
};
|
||||||
iter.find_map(|class|{
|
iter.find_map(|class|{
|
||||||
let mut class_methods=cf.get_or_create_class_methods(&class.name)?;
|
let mut class_methods=cf.get_or_create_class_methods(&class.name)?;
|
||||||
class_methods.get_or_create_function(lua,index_str).transpose()
|
class_methods.get_or_create_function(lua,index_str)
|
||||||
|
.transpose()
|
||||||
}).transpose()
|
}).transpose()
|
||||||
})?{
|
})?{
|
||||||
return function.into_lua(lua);
|
return function.into_lua(lua);
|
||||||
|
Loading…
Reference in New Issue
Block a user