Arc Forumnew | comments | leaders | submitlogin
1 point by sacado 6095 days ago | link | parent

Interesting. Should be added to ffi.arc...


2 points by eds 6095 days ago | link

Yeah, because currently if you attempt

  (w/ffi #f
    (cdef cfork "fork" cint ()))
arc will convert #f to nil, which mzcheme thinks is an unbound variable. There are work-arounds, like

  (w/ffi (read "#f")
    (cdef cfork "fork" cint ()))
but this is rather ugly.

-----