Thread: -nls-
View Single Post
dustinandband
Senior Member
Join Date: May 2015
Old 03-13-2020 , 20:56   Re: [L4D2] Sky's RPGMaker
Reply With Quote #8

Looks impressive. Curious though, why use "stock" keyword when declaring functions in your main plugin file? I was under the impression it's used within include files because you want to tell the compiler not to include all the unused functions within your code base.

Quote:
The stock keyword tells the compiler to simply not include the function in the compiled binary if it's not called somewhere in the code. This makes the function facultative so to speak, and it won't increase the binary size if its not used.

https://stackoverflow.com/questions/...homolog-in-c-c
dustinandband is offline