Linking with FFmpeg

bearophile bearophileHUGS at lycos.com
Sun Jan 6 03:51:33 PST 2013


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


More information about the Digitalmars-d-learn mailing list