Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

windows.cfg: Added support for more obsolete functions #6251

Merged
merged 1 commit into from
Apr 7, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading