On 11/01/2016 17:58, Michael Jackson wrote: > and we call the function from our C code like the following: > > > SingleEBSDPattern_(ipar, fpar, ebsdPattern, quats, accum_e, mLPNH, mLPSH); > You need to use the macros here too. Regards Bill Somerville.