windows.cfg: Improved support for strdup functions.

This commit is contained in:
Martin Ettl 2016-01-08 11:30:39 +01:00
parent 8082e8130e
commit d357229da5
1 changed files with 11 additions and 0 deletions

View File

@ -1081,6 +1081,7 @@
<alloc init="true">_strdup</alloc> <alloc init="true">_strdup</alloc>
<alloc init="true">_wcsdup</alloc> <alloc init="true">_wcsdup</alloc>
<alloc init="true">_mbsdup</alloc> <alloc init="true">_mbsdup</alloc>
<alloc init="true">_tcsdup</alloc>
<alloc init="true">_malloc_dbg</alloc> <alloc init="true">_malloc_dbg</alloc>
<alloc init="true">_aligned_malloc</alloc> <alloc init="true">_aligned_malloc</alloc>
<alloc init="true">_aligned_offset_malloc</alloc> <alloc init="true">_aligned_offset_malloc</alloc>
@ -1817,4 +1818,14 @@ HFONT CreateFont(
</arg> </arg>
<arg nr="4"/> <arg nr="4"/>
</function> </function>
<!-- char *_strdup(const char *strSource);
wchar_t *_wcsdup(const wchar_t *strSource);
unsigned char *_mbsdup(const unsigned char *strSource);-->
<function name="_strdup,_wcsdup,_mbsdup,_tcsdup,_strdup_dbg,_wcsdup_dbg">
<noreturn>false</noreturn>
<arg nr="1">
<not-null/>
<not-uninit/>
</arg>
</function>
</def> </def>