> because it's not guaranteed

No it is not guaranteed, the C-compiler is free to ignore inline.

But can you give examples where inline pragma does not work fine? Nim copies 
procs marked with inline pragma into all C files when necessary, so inline 
works fine over module boundaries. I have not seen examples where inline procs 
does not work well. (For not exported, locally used small procs Araq once 
indeed recommended using templates instead of inline procs -- but I think even 
there was no real reason.)

Reply via email to