On Saturday, 23 March 2019 at 09:25:52 UTC, Andrey wrote:
Hello,
I have got 2 simple arrays with the same length:
int[] values = [1, 2, 3, 4, 5];
char[] keys = ['a', 'b', 'c', 'd', 'e'];
auto result = buildAA(keys, values); // [a: 1, b: 2, c: 3, d:
4, e: 5]
I want to build AA "result" using
Hello,
I have got 2 simple arrays with the same length:
int[] values = [1, 2, 3, 4, 5];
char[] keys = ['a', 'b', 'c', 'd', 'e'];
auto result = buildAA(keys, values); // [a: 1, b: 2, c: 3, d:
4, e: 5]
I want to build AA "result" using "values" and "keys". How to do
it?
On Friday, 22 March 2019 at 19:34:14 UTC, tchaloupka wrote:
I've searched a lot at it should be working at least on linux,
but apparently is not or I'm doing something totally wrong..
[...]
I just noticed another issue which might be related but I doubt.
On Friday, 22 March 2019 at 23:34:08 UTC, Ron Tarrant wrote:
It's fixed now.
The first one :), now there's still the other one "Here’s a
second code file for you."
On Friday, 22 March 2019 at 17:52:34 UTC, Sobaya wrote:
On Friday, 22 March 2019 at 11:00:32 UTC, Andre Pany wrote:
On Friday, 22 March 2019 at 10:51:58 UTC, Sobaya wrote:
[...]
As far as I know different to windows, linus will not search
current working directory for a.so. if this is the
On Saturday, 23 March 2019 at 09:47:55 UTC, Andre Pany wrote:
On Friday, 22 March 2019 at 19:34:14 UTC, tchaloupka wrote:
Just to make sure, could you test it with dmd 2.78?
Actually when I remove the explicit GC call within unregistered
thread (which is fixed in
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
On 03/22/2019 12:34 PM, tchaloupka wrote:
> I've searched a lot at it should be working at least on linux, but
> apparently is not or I'm doing something totally wrong..
>
> Our use case is to call shared D library from C# (.Net Core) and from
> different threads.
We needed to do the same from
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
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);
On Saturday, 23 March 2019 at 15:28:34 UTC, Ali Çehreli wrote:
On 03/22/2019 12:34 PM, tchaloupka wrote:
> I've searched a lot at it should be working at least on
linux, but
> apparently is not or I'm doing something totally wrong..
>
> Our use case is to call shared D library from C# (.Net
On Saturday, 23 March 2019 at 15:58:07 UTC, Sobaya wrote:
What I am saying is that it can not be read when a code
importing (a.d) a code including the static constructor (b.d)
is compiled into shared library.
Hi. I've tried to add your case to the repository and at it seems
to be working
On Saturday, 23 March 2019 at 16:56:28 UTC, tchaloupka wrote:
On Saturday, 23 March 2019 at 15:58:07 UTC, Sobaya wrote:
What I am saying is that it can not be read when a code
importing (a.d) a code including the static constructor (b.d)
is compiled into shared library.
Hi. I've tried to
On Saturday, 23 March 2019 at 09:37:16 UTC, Andre Pany wrote:
On Friday, 22 March 2019 at 17:52:34 UTC, Sobaya wrote:
On Friday, 22 March 2019 at 11:00:32 UTC, Andre Pany wrote:
On Friday, 22 March 2019 at 10:51:58 UTC, Sobaya wrote:
[...]
As far as I know different to windows, linus will
14 matches
Mail list logo