All the answers looks right, but I think there is another possibility.
Maybe there are performance considerations as the things you say reminds me "inlining code". It's always faster to inline functions that to call them.
Maybe the code you look at has been preprocessed first?