Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
NLua
Commits
dc976e88
"KopiLua/printf/AT.MIN.Tools.Tests/vscode:/vscode.git/clone" did not exist on "8a76b646a3f7145f38e37f1270ae55928358a86a"
Commit
dc976e88
authored
Sep 30, 2014
by
Mervill
Browse files
Type search now looks for classes not declared in a namespace (Common on Unity3D).
parent
d420b17e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Core/NLua/Lua.cs
View file @
dc976e88
...
...
@@ -171,6 +171,7 @@ local mt = {
local class = rawget(package, classname)
if class == nil then
class = import_type(package.packageName .. ""."" .. classname)
if class == nil then class = import_type(classname) end
package[classname] = class -- keep what we found around, so it will be shared
end
return class
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment