Skip to content

Commit

Permalink
windows.cfg: Added support for more obsolete functions (#6251)
Browse files Browse the repository at this point in the history
  • Loading branch information
orbitcowboy authored Apr 7, 2024
1 parent ce5f234 commit 3d79910
Showing 1 changed file with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions cfg/windows.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -1411,6 +1411,53 @@
</arg>
<warn severity="style" reason="Obsolete" alternatives="RtlFillMemory"/>
</function>
<!-- unsigned int _get_output_format(); -->
<function name="_get_output_format">
<noreturn>false</noreturn>
<leak-ignore/>
<use-retval/>
<returnValue type="unsigned int"/>
<warn severity="style" reason="Obsolete" alternatives="No_alternatives_available"/>
</function>
<!-- int _heapadd(void *memblock, size_t size); -->
<function name="_heapadd">
<noreturn>false</noreturn>
<leak-ignore/>
<returnValue type="int"/>
<arg nr="1" direction="inout">
<not-null/>
</arg>
<arg nr="2" direction="in">
<not-uninit/>
<not-bool/>
</arg>
<warn severity="style" reason="Obsolete" alternatives="No_alternatives_available"/>
</function>
<!-- char *_cgets(char *buffer); -->
<!-- template <size_t size> char *_cgets(char (&buffer)[size]); // C++ only -->
<function name="_cgets">
<noreturn>false</noreturn>
<leak-ignore/>
<use-retval/>
<returnValue type="char *"/>
<arg nr="1" direction="out">
<not-null/>
</arg>
<warn severity="style" reason="Obsolete" alternatives="_cgets_s"/>
</function>
<!-- wchar_t *_cgetws(wchar_t *buffer); -->
<!-- wchar_t *_getws(wchar_t *buffer); -->
<!-- template <size_t size> wchar_t *_cgetws(wchar_t (&buffer)[size]); // C++ only -->
<function name="_cgetws,_getws">
<noreturn>false</noreturn>
<leak-ignore/>
<use-retval/>
<returnValue type="wchar_t *"/>
<arg nr="1" direction="out">
<not-null/>
</arg>
<warn severity="style" reason="Obsolete" alternatives="_cgetws_s,_getws_s"/>
</function>
<!-- int _iswctype( wint_t wc, wctype_t desc ); -->
<!-- int is_wctype( wint_t wc, wctype_t desc ); -->
<function name="_iswctype,is_wctype">
Expand Down

0 comments on commit 3d79910

Please sign in to comment.