Greetings!  Can anyone suggest a portable usage of (the old) extern
inline function syntax, i.e. where in a header one used to be able to
say

#ifndef EXTER
#define EXTER extern
#endif

EXTER in foo(void) {return 1;}

and then in a given C file

#define EXTER
#include <header.h>

Here when compiling with debugging, one gets function calls, and with
optimization, one gets inlining, but also a function entry point for
invocation when debugging with gdb.

Take care,
-- 
Camm Maguire                                        [email protected]
==========================================================================
"The earth is but one country, and mankind its citizens."  --  Baha'u'llah

_______________________________________________
Gcl-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/gcl-devel

Reply via email to