[fpc-devel] Problems with fpioctl on ARM debian	linuxandFPC2.6
    Henry Vermaak 
    henry.vermaak at gmail.com
       
    Tue Jun 19 20:53:54 CEST 2012
    
    
  
On 19 June 2012 19:42, Ludo Brands <ludo.brands at free.fr> wrote:
> So the struct should be translated as
>
> spi_ioc_transfer_t = record
>    tx_buf_ptr   : qword;
>    rx_buf_ptr   : qword;
>    len    : longword;
>    speed_hz     : longword;
>    delay_usec  : word;
>    bits_per_word : byte;
>    cs_change  : byte;
>    pad    : longword;
>  end;
Yes, or use ctypes to make it more clear.
Henry
    
    
More information about the fpc-devel
mailing list