Search

November 10
Issues »
...ldc2 -betterC -mtriple=avr -gcc=avr-gcc test_ptr.d

The C style compiles fine.

--
November 10
LDC »
...ptr [rbp-48h]
00007FF760D244AA  shl         eax,4
00007FF760D244AD  lea         rcx,[60D244B8h]
00007FF760D244B5  jmp         qword ptr...
October 23
Issues »
...ptr = new int(i);
            }

            this(this) @safe
            {
                if(ptr !is null)
                    ptr = new int(*ptr...
October 22
Learn »
...type;
    uint usage;
    size_t size;
    void* ptr;
}

extern(C):

private {
    bool pInit() {
        return true...
October 14
Issues »
...s; %.*s\n", memS.ptr, cast(int)memS.length, memS.ptr);
}
```

```
$ dmd -betterC alloca1.d...
October 12
General »
...int* ptr = &(c ? a : b);
    *ptr = 8;
    assert(a == 8);
    *ptr = (c ? b : a);
    *ptr...
October 11
General »
...ref ptr = (c ? a : b);
    ptr = 8;
    assert(a == 8);
    ptr = (c ? b : a);
    ptr...
October 12
General »
...Lol, classic that it presented in rc-ptr! ;)
Again, a specifically stated goal of this...
October 10
Learn »
...response **resp,
                             void *appdata_ptr)
      {
        auto data = cast(PAMdata*)appdata_ptr;
        auto responses = cast(pam...
October 10
Learn »
...message **msg, pam_response **resp, void *appdata_ptr)
{ /* ... */}
```

There is no need for `this`.

```d...
1 2 3 4 5
Next ›   Last »