[Issue 23757] ImportC: fail to import malloc

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Mar 15 19:24:20 UTC 2023


https://issues.dlang.org/show_bug.cgi?id=23757

--- Comment #2 from ryuukk_ <ryuukk.dev at gmail.com> ---


As requested here is a copy of this file:
https://gist.github.com/ryuukk/8ede8f2ec75085053e4861a0406d1e3f



```
_Check_return_ _Ret_maybenull_ _Post_writable_byte_size_(_Count * _Size)
_ACRTIMP _CRTALLOCATOR _CRTRESTRICT
void* __cdecl _calloc_base(
    _In_ size_t _Count,
    _In_ size_t _Size
    );
```



```
_Check_return_ _Ret_maybenull_ _Post_writable_byte_size_(_Count * _Size)
_ACRTIMP _CRT_JIT_INTRINSIC _CRTALLOCATOR _CRTRESTRICT _CRT_HYBRIDPATCHABLE
void* __cdecl calloc(
    _In_ _CRT_GUARDOVERFLOW size_t _Count,
    _In_ _CRT_GUARDOVERFLOW size_t _Size
    );
```


etc

--


More information about the Digitalmars-d-bugs mailing list