On Wednesday, 1 April 2020 at 01:56:26 UTC, Heromyth wrote:
On Wednesday, 1 April 2020 at 01:21:22 UTC, YD wrote:
[...]
Sorry for the inconveniences. We are still testing Hunt-AMQP.
The problems about dub.json will be fixed soon.
Thanks for the reply! BTW is hunt-amqp for AMQP 1.0 only?
On Tuesday, 31 March 2020 at 19:59:25 UTC, YD wrote:
On Tuesday, 31 March 2020 at 19:51:31 UTC, YD wrote:
Hi, I am trying to use Meson, and I did the followings to get
dub packages:
dub fetch hunt-net
dub fetch hunt-proton
dub build hunt-net
dub build hunt-proton
when I have this
On Tuesday, 31 March 2020 at 19:51:31 UTC, YD wrote:
Hi, I am trying to use Meson, and I did the followings to get
dub packages:
dub fetch hunt-net
dub fetch hunt-proton
dub build hunt-net
dub build hunt-proton
when I have this line in my meson.build file:
Hi, I am trying to use Meson, and I did the followings to get dub
packages:
dub fetch hunt-net
dub fetch hunt-proton
dub build hunt-net
dub build hunt-proton
when I have this line in my meson.build file:
dependency('hunt-net', method: 'dub')
It works fine:
Run-time
On Sunday, 29 March 2020 at 17:32:59 UTC, kinke wrote:
On Sunday, 29 March 2020 at 15:20:52 UTC, YD wrote:
So what do I need to declare in the D file for it to match the
library entry? Thanks!
This is similar to
https://issues.dlang.org/show_bug.cgi?id=19260, and can be
worked around the
On Sunday, 29 March 2020 at 15:20:52 UTC, YD wrote:
On Sunday, 29 March 2020 at 01:50:24 UTC, evilrat wrote:
[...]
Thanks, dummy placeholder works. But there is a new problem on
Windows, let's say there are two classes in C++:
[...]
Actually I found that if I create a C wrapper like
On Sunday, 29 March 2020 at 01:50:24 UTC, evilrat wrote:
...
Same here, STL bindings is not yet finished. If you don't need
that method specifically, just replace it with a dummy. Or make
your own bindings.
Thanks, dummy placeholder works. But there is a new problem on
Windows, let's say
On Saturday, 28 March 2020 at 07:33:38 UTC, Jacob Carlborg wrote:
On 2020-03-27 20:17, YD wrote:
Hi, I have a C++ header file which looks like
class A {
public:
static A *create();
virtual int f() const = 0;
};
And there is a C++ library file which provides
On Saturday, 28 March 2020 at 07:33:38 UTC, Jacob Carlborg wrote:
On 2020-03-27 20:17, YD wrote:
[...]
Classes in D are always passed by reference. Try dropping the
pointer in the `create` method:
static A create();
Thanks! I got it to work for now.
Hi, I have a C++ header file which looks like
class A {
public:
static A *create();
virtual int f() const = 0;
};
And there is a C++ library file which provides the
implementation, so that if I write a C++ program and call
auto *p = A::create();
std::cout
10 matches
Mail list logo