[GUI] HToolkit 1.0 released

Marcin 'Qrczak' Kowalczyk qrczak@knm.org.pl
Thu, 24 Jul 2003 12:24:21 +0200


Dnia czw 24. lipca 2003 12:18, Wolfgang Jeltsch napisał:

> The problem for creating Ada bindings is that there is no standard mapping
> of (void *) to an Ada type. But if you want to handle pointers to values of
> arbitrary type but not to functions, you can use (char *) instead of (void
> *)

Using void * for function pointers in C is non-portable. There is no reason a 
C implementation could represent char * and void * differently, where there 
existed (or still exist?) implementations which represented other pointers 
differently (word-addressed Crays where char * and void * need to store a 
small byte offset in addition to the native pointer).

-- 
   __("<         Marcin Kowalczyk
   \__/       qrczak@knm.org.pl
    ^^     http://qrnik.knm.org.pl/~qrczak/