: m Implemented as a macro - no export, no
: proto, no #define
: d function has documentation with its source
+: D function is deprecated
: s static function, should have an S_ prefix in
: source file; for macros (m), suffix the usage
: example with a semicolon
if ( $flags =~ /r/ ) {
push @attrs, "__attribute__noreturn__";
}
+ if ( $flags =~ /D/ ) {
+ push @attrs, "__attribute__deprecated__";
+ }
if ( $is_malloc ) {
push @attrs, "__attribute__malloc__";
}