Topic : inline functions

Forum : ST7/STM8

Original Post
Post Information Post
February 19, 2011 - 1:45am
Guest

Hello, I'm new here ;=)

How to build inline functions in C using RKIT-STM8?
There is an inline keyword, but in my opinion it doesn't work.

Replies
Post Information Post
+1
0
-1
February 21, 2011 - 9:41am
Raisonance Support Team

Hi,

You will have to wait for few weeks until the new RKit-STM8 release until the inline functions are fully supported by the compiler. This will come with full documentation.
Basically this works just as in C++: Place the inline functions in your header files, and they will be placed inline during the compilation.

Regrads,