Hello Brian,

Saturday, April 8, 2006, 1:35:06 PM, you wrote:

>       Fun a = &foo;
>       Fun b = foo;  // same as above (in VC7)

> Therefore there is no bug anywhere. It is just that FFI has a high learning
> curve since it rests on extremely subtle but vital distinctions foreign to a
> C programmer... :-)

sorry but you just not very good know C. in the second case C
_implicitly_ converts "foo" to the "&foo", i.e. take address of
function instead of calling it


-- 
Best regards,
 Bulat                            mailto:[EMAIL PROTECTED]

_______________________________________________
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to