static, static inline, extern, register, static const
https://stackoverflow.com/questions/7762731/whats-the-difference-between-static-and-static-inline-function
In C, static means the function or variable you define can be only used in this file(i.e. the compile unit)
So, static inline means the inline function which can be used in this file only.
The compile unit should be The Translation Unit
网友评论