title: Passing a pointer to struct as an argument in Julia
body: <p>I have a type definition corresponding to a C-struct as follows:</p>
  
  <pre><code>type fakeCStruct
    a::Uint8;
    b::Uint32;
  end
  var=fakeCStruct(3,4);
  </code></pre>
  
  <p>How can I pass a pointer to this type as an input argument (i.e. struct CStruct *) for a c-function in ccall?</p>
  
  <p>The old documentation (v0.3) suggest using &amp;var in the input argument list of ccall. However that statement is deleted in v0.4 documentation (also, &amp;var does not work in v0.4).</p>