Is there a way to define C inline function in .c file rather than .h file? (Xcode)

Posted by Eonil on Stack Overflow See other posts from Stack Overflow or by Eonil
Published on 2010-05-02T06:23:21Z Indexed on 2010/05/02 7:37 UTC
Read the original article Hit count: 130

Filed under:
|
|
|

As I know, C inline function body should be defined in .h file because it causes an error 'function-name used but never defined" if body defined in .c file.

Is this the regular way? Or how to define inline function body in .c file?

© Stack Overflow or respective owner

Related posts about c

    Related posts about inline-functions