Compare commits
5 Commits
bf6e169126
...
00c8699933
Author | SHA1 | Date | |
---|---|---|---|
00c8699933 | |||
e39b2cd674 | |||
7625ea0959 | |||
784dde3386 | |||
fa4ae23381 |
@ -275,8 +275,7 @@ 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)
|
class_methods.get_or_create_function(lua,index_str).transpose()
|
||||||
.transpose()
|
|
||||||
}).transpose()
|
}).transpose()
|
||||||
})?{
|
})?{
|
||||||
return function.into_lua(lua);
|
return function.into_lua(lua);
|
||||||
|
Loading…
Reference in New Issue
Block a user