Ricardo Herrmann <[EMAIL PROTECTED]> wrote:

> a .chs file which uses a "foreign label" syntax, which seems
> deprecated, since the parser can't even recognize it:
> 
> foreign label "bdd_reorder_stable_window3"
>   bdd_reorder_stable_window3 :: FunPtr (BDDManager -> IO ())
> 
> Is there new syntax for this ? Or is it a deprecated functionality ?

I believe it is now "foreign import" with an ampersand in front of the
name of the foreign entity, e.g.

  foreign import "& bdd_reorder_stable_window3"
    bdd_reorder_stable_window3 :: FunPtr (BDDManager -> IO ())

Regards,
    Malcolm
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to