On Saturday, 23 March 2019 at 13:04:10 UTC, kinke wrote:
On Saturday, 23 March 2019 at 11:35:45 UTC, Simon wrote:
Is there any way to end up with the correct mangled function
signature, using only pointer types?
The problem is that the C++ compiler uses head-const for the
array param (`float
On Saturday, 23 March 2019 at 11:35:45 UTC, Simon wrote:
Is there any way to end up with the correct mangled function
signature, using only pointer types?
The problem is that the C++ compiler uses head-const for the
array param (`float * const`), which cannot be represented in D.
What you
Hi,
I experienced some trouble with DMD today, while trying to
declare an external C++ function in D, that gets linked from a
C++ compiled object file.
The C++ function that I want to link against is declared as
follows:
bool ColorEdit4(const char* label, float col[4], int flags = 0);