Ptr and ForeignPtr Questions

Marcin 'Qrczak' Kowalczyk qrczak@knm.org.pl
23 Sep 2001 11:04:12 GMT


Sun, 23 Sep 2001 02:04:49 -0700, Ashley Yakeley <ashley@semantic.org> pisze:

> I would assume that Ptr types would always be mapped to non-const 
> pointers.

It would be impossible then to directly call a C function with a
parameter declared as a const pointer. It's illegal in C to have
mismatching prototypes of the same function.

-- 
 __("<  Marcin Kowalczyk * qrczak@knm.org.pl http://qrczak.ids.net.pl/
 \__/
  ^^                      SYGNATURA ZASTĘPCZA
QRCZAK