calling C variadic arguments with no 'argc' and only variadic arguments
Ali Çehreli via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Tue Mar 17 22:38:39 PDT 2015
On 03/17/2015 06:13 PM, Laeeth Isharc wrote:
> DMD gave me an error message for the following declarations:
>
> double mgl_rnd (...);
> double mgl_rnd_ (...);
Are you sure those are the right signatures? I don't think those
functions take any parameters at all. I would try these:
double mgl_rnd ();
double mgl_rnd_ ();
Ali
More information about the Digitalmars-d-learn
mailing list