JuliaLang/julia — pull request #1270 by vtjnash (2012-09-09 22:00:08+00:00)
Title: add intrinsics for dereferencing pointers

This is intended to make use of ccall and ccallback slightly easier in some cases. This makes it idiomatic to dereference a value passed by reference from c as `x = p[]` or `x = p[1]`

The corresponding assignments also exist.

The use of both is discouraged, outside of interacting with c code.