AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   General (https://forums.alliedmods.net/forumdisplay.php?f=7)
-   -   Native call, public function call and function calls (direct public function / stock) (https://forums.alliedmods.net/showthread.php?t=303519)

apache. 12-10-2017 12:17

Native call, public function call and function calls (direct public function / stock)
 
Can anyone tell me please what is that

fysiks 12-10-2017 12:27

Re: Native call, public function call and function calls (direct public function / st
 
That is extremely vague, what exactly is your question?

apache. 12-10-2017 14:52

Re: Native call, public function call and function calls (direct public function / st
 
Its related to this thread, https://forums.alliedmods.net/showthread.php?t=67752

fysiks 12-10-2017 15:08

Re: Native call, public function call and function calls (direct public function / st
 
So, what is your question?

apache. 12-11-2017 21:54

Re: Native call, public function call and function calls (direct public function / st
 
My question was that, what is native call, public function call and function calls (direct public function / stock function calls)?

WildCard65 12-11-2017 22:22

Re: Native call, public function call and function calls (direct public function / st
 
Native call: A call to a native C/C++ function bound to the native's name (ex: client_cmd)
Public function call: A call to a plugin's public function from native C/C++
Regular function call: A call to a function from inside the plugin itself (no communication with the plugin's executor)

klippy 12-12-2017 06:48

Re: Native call, public function call and function calls (direct public function / st
 
A little mistake:
Quote:

Originally Posted by WildCard65 (Post 2565708)
Native call: A call to a native C/C++ function bound to the native's name (ex: client_cmd)

Also a stock functions is just a regular function (one with no specifiers) but it won't be compiled if not used and in that case won't produce "X is never used" warnings.
Static functions are functions local to file scope (only visible within the file they were defined in). Great for modularity.


All times are GMT -4. The time now is 03:27.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.