B
bill
If I inline a function must I also use the inline keyword in the function
prototype?
Like this:
/* My H file */
inline void do_stuff(void); /* Prototype */
/* My C file */
inline void do_stuff(void)
{
/* do stuff here */
}
prototype?
Like this:
/* My H file */
inline void do_stuff(void); /* Prototype */
/* My C file */
inline void do_stuff(void)
{
/* do stuff here */
}