This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
inline?
- From: "Artem B. Bityuckiy" <abityuckiy at yandex dot ru>
- To: newlib at sources dot redhat dot com
- Date: Fri, 02 Apr 2004 18:31:39 +0400
- Subject: inline?
Hello.
Newlib tries to take care about K&R compatibility. For example, "_CONST"
macro is used instead of "const" modifier, etc. Is it K&R-compatible to
use "inline" modifier? Is there some wrapper for "inline" ?
Also, isn't it more efficient to use "inline" directives for those
functions, who has reentrant analog? These functions consist of on call
to reentrant "brother". Isn't "inline" usage disagree C standards where
function's prototypes are rigidly defined?
--
Best Regards,
Artem B. Bityuckiy,
St.-Petersburg, Russia.