windows.cfg: Added support for more strdup and malloc functions.
This commit is contained in:
parent
a53f14da25
commit
245da75a2f
|
@ -1119,9 +1119,11 @@
|
|||
<alloc init="true">_tcsdup</alloc>
|
||||
<alloc init="true">_malloc_dbg</alloc>
|
||||
<alloc init="true">_aligned_malloc</alloc>
|
||||
<alloc init="true">_aligned_malloc_dbg</alloc>
|
||||
<alloc init="true">_aligned_offset_malloc</alloc>
|
||||
<alloc init="true">_strdup_dbg</alloc>
|
||||
<alloc init="true">_wcsdup_dbg</alloc>
|
||||
<alloc init="true">_tcsdup_dbg</alloc>
|
||||
<dealloc>free</dealloc>
|
||||
</memory>
|
||||
<memory>
|
||||
|
@ -2061,13 +2063,32 @@ HFONT CreateFont(
|
|||
<!-- 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">
|
||||
<function name="_strdup,_wcsdup,_mbsdup,_tcsdup">
|
||||
<noreturn>false</noreturn>
|
||||
<arg nr="1">
|
||||
<not-null/>
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- char *_strdup_dbg(const char *strSource, int blockType, const char *filename, int linenumber );
|
||||
wchar_t *_wcsdup_dbg(const wchar_t *strSource, int blockType, const char *filename, int linenumber);-->
|
||||
<function name="_strdup_dbg,_wcsdup_dbg,_tcsdup_dbg">
|
||||
<noreturn>false</noreturn>
|
||||
<arg nr="1">
|
||||
<not-null/>
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
<arg nr="2">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
<arg nr="3">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
<arg nr="4">
|
||||
<not-uninit/>
|
||||
<valid>0:</valid>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- int _mbscmp(const unsigned char *string1, const unsigned char *string2); -->
|
||||
<function name="_mbscmp,_tcscmp">
|
||||
<use-retval/>
|
||||
|
@ -3268,4 +3289,35 @@ HFONT CreateFont(
|
|||
<not-uninit/>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- void *_malloc_dbg(size_t size, int blockType, const char *filename, int linenumber); -->
|
||||
<!-- void * _aligned_malloc_dbg(size_t size, size_t alignment, const char *filename, int linenumber); -->
|
||||
<function name="_malloc_dbg,_aligned_malloc_dbg">
|
||||
<use-retval/>
|
||||
<noreturn>false</noreturn>
|
||||
<arg nr="1">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
<arg nr="2">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
<arg nr="3">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
<arg nr="4">
|
||||
<not-uninit/>
|
||||
<valid>0:</valid>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- void * _aligned_malloc(size_t size, size_t alignment); -->
|
||||
<function name="_aligned_malloc">
|
||||
<use-retval/>
|
||||
<noreturn>false</noreturn>
|
||||
<arg nr="1">
|
||||
<not-uninit/>
|
||||
<valid>0:</valid>
|
||||
</arg>
|
||||
<arg nr="2">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
</function>
|
||||
</def>
|
||||
|
|
Loading…
Reference in New Issue