$ dub upgrade
https://dub.pm/commandline.html#upgrade
dub.selections.json hasn't been deleted/upgraded so the versions would
have gotten pinned to a known good state. Unless you change the version
invalidating it, it most likely won't upgrade by itself.
I can build my app using dub, which has a dependency on the
particular version of dlangui that was available when I
originally created the project:
"dependencies": {
"dlangui": "~>0.9.182",
...etc..
},
I've recently noticed that the dlangui
On Monday, 28 December 2020 at 16:42:19 UTC, Paul Backus wrote:
On Monday, 28 December 2020 at 15:42:26 UTC, RSY wrote:
``IAllocator`` is an abstract struct, (a struct with virtual
functions)
But the problem is D doesn't allow that, so apparently i need
to use an abstract class and wrap it
On Monday, 28 December 2020 at 15:42:26 UTC, RSY wrote:
``IAllocator`` is an abstract struct, (a struct with virtual
functions)
But the problem is D doesn't allow that, so apparently i need
to use an abstract class and wrap it using: ``extern (C++,
struct)``
You could try using one of the
IAllocator struct:
https://github.com/nem0/LumixEngine/blob/master/src/engine/allocator.h#L18
function:
https://github.com/nem0/LumixEngine/blob/master/src/renderer/gpu/gpu.h#L208
Hello
I try to use a C++ lib
So far so good, i managed to use that lib and get started
The problem however is this:
C++ API:
```
void preinit(IAllocator& allocator, bool load_renderdoc);
```
``IAllocator`` is an abstract struct, (a struct with virtual
functions)
But the problem is D
http://ddili.org/ders/d.en/index.html
This seems very promising :)
I doubt I'd still be considering D if it weren't for this awesome
learning forum, thanks for all the help!