MrOrdinaire:

I cannot find "cint_t" nor "cint" in the d standard modules (mine are at /usr/include/d/).

I don't remember the correct name.


For the symbol "*", do you mean I should write something like this?
uint8_t[4]* ptrs

Right. It's a D coding style convention that has a practical base. In C this means a is a pointer and b is an integer, while in D it means both are pointers:

int *a, b;

In C this means a is an int and b is a pointer, while in D it's thankfully an error (Error: multiple declarations must have the same type, not int and int*):

int a, *b;

Bye,
bearophile

Reply via email to