> Inline functions have to be defined in header files. Almsot none
> of the curret compilers can handle inline functions defined in
> source files.

Inline functions defined in source files are fine, as long as the function is
only called inside the same source file.  You can't use prototypes or externs
to call an inline function from another module.  Essentially putting them in
the header files ensures that the function is fully defined in each source file
that needs it.  Needless to say, "duplicate definition" errors do not occur
with inline functions.

---Reedbeta

__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to