I think it's neither. It doesn't put the source into the file, that's include, but I don't believe it just define function footprints. I think it links the object code instead. So it's like include without having to recompile.
That's how I use them anyway. Code which changes constantly is included and once I have a section which won't need to be recompiled so often, I pass it off to be imported, thus reducing compile times when nothing in that code has changed.
That's how I use them anyway. Code which changes constantly is included and once I have a section which won't need to be recompiled so often, I pass it off to be imported, thus reducing compile times when nothing in that code has changed.