[commit: ghc] master: Use ffi_prep_closure_loc rather than ffi_prep_closure (310735e)

Ian Lynagh ian at well-typed.com
Mon Apr 22 00:36:32 CEST 2013


On Sun, Apr 21, 2013 at 09:34:31PM +0300, Sergei Trofimovich wrote:
> > commit 310735e7adce0145c653386c21686b4a1b96aea9
> >  
> > -    r = ffi_prep_closure(cl, cif, (void*)wptr, hptr/*userdata*/);
> > +    r = ffi_prep_closure_loc(cl, cif, (void*)wptr, hptr/*userdata*/, code);
> >      if (r != FFI_OK) barf("ffi_prep_closure failed: %d", r);
> 
> The barf() text (/ffi_prep_closure/ffi_prep_closure_loc/) might be adjusted as well.

Ta, fixed.


Thanks
Ian




More information about the ghc-devs mailing list