Project

General

Profile

Actions

Bug #106

closed

Inline functions should be moved to .h files were appropriate

Added by Will Metcalf about 14 years ago. Updated about 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Affected Versions:
Effort:
Difficulty:
Label:

Description

Steve Grubb from Redhat reported the following issue. We should move the inline functions to the .h files where appropriate or change the functions to no longer be inline.

"The other issue is that inline functions are still not right. Inline functions
are like macros with type checking. The whole function must be in the header
and not the .c file. If its in a .c file, then gcc can't possibly inline the
function since it cannot see the source code. Older versions of gcc faked this
by treating inlined functions as normal functions."


Files

Actions

Also available in: Atom PDF