Skip to content

Commit

Permalink
Restore names(module, all) function used by subtypes
Browse files Browse the repository at this point in the history
  • Loading branch information
johnmyleswhite committed Jun 6, 2013
1 parent 0e411ad commit 3421f2e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion base/reflection.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ module_parent(m::Module) = ccall(:jl_module_parent, Any, (Any,), m)::Module
current_module() = ccall(:jl_get_current_module, Any, ())::Module

names(m::Module, all::Bool, imported::Bool) = ccall(:jl_module_names, Array{Symbol,1}, (Any,Int32,Int32), m, all, imported)
names(m::Module) = names(m,false,false)
names(m::Module, all::Bool) = names(m, all, false)
names(m::Module) = names(m, false, false)
names(t::DataType) = t.names

function names(v)
Expand Down

0 comments on commit 3421f2e

Please sign in to comment.