JuliaLang/julia — pull request #1664 by vtjnash (2012-12-03 21:53:19+00:00)
Title: don't create unnecessary global functions for ccalls

This doesn't change much on its own, but I was interested in it because it could presumably be extended to allow for doing indirect function calls from julia, by changing the evaluation context for fptr to consider local variables:
```julia
function ccall_void( callthis :: Ptr{Void} )
ccall( callthis, Void, ())
end
```