d malloc

ketmar via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Aug 9 07:58:56 PDT 2014


On Sat, 09 Aug 2014 09:08:14 +0000
via Digitalmars-d-learn <digitalmars-d-learn at puremagic.com> wrote:

> really must use an integral type instead of a pointer, use 
> `size_t`, which is defined to have the same size as a pointer.
ptr_t or uptr_t ;-) that is the reason why the std.string.indexOf()
using ptrdiff_t, for example.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20140809/4ed72c07/attachment.sig>


More information about the Digitalmars-d-learn mailing list