Raised This Month: $12 Target: $400
 3% 

Native call, public function call and function calls (direct public function / stock)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
apache.
Junior Member
Join Date: Jan 2016
Location: Brazil
Old 12-10-2017 , 12:17   Native call, public function call and function calls (direct public function / stock)
Reply With Quote #1

Can anyone tell me please what is that
apache. is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 12-10-2017 , 12:27   Re: Native call, public function call and function calls (direct public function / st
Reply With Quote #2

That is extremely vague, what exactly is your question?
__________________
fysiks is offline
apache.
Junior Member
Join Date: Jan 2016
Location: Brazil
Old 12-10-2017 , 14:52   Re: Native call, public function call and function calls (direct public function / st
Reply With Quote #3

Its related to this thread, https://forums.alliedmods.net/showthread.php?t=67752
apache. is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 12-10-2017 , 15:08   Re: Native call, public function call and function calls (direct public function / st
Reply With Quote #4

So, what is your question?
__________________
fysiks is offline
apache.
Junior Member
Join Date: Jan 2016
Location: Brazil
Old 12-11-2017 , 21:54   Re: Native call, public function call and function calls (direct public function / st
Reply With Quote #5

My question was that, what is native call, public function call and function calls (direct public function / stock function calls)?
apache. is offline
WildCard65
Veteran Member
Join Date: Aug 2013
Location: Canada
Old 12-11-2017 , 22:22   Re: Native call, public function call and function calls (direct public function / st
Reply With Quote #6

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)
__________________

Last edited by WildCard65; 12-12-2017 at 07:22. Reason: Applied correction as KliPPy showed below.
WildCard65 is offline
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 12-12-2017 , 06:48   Re: Native call, public function call and function calls (direct public function / st
Reply With Quote #7

A little mistake:
Quote:
Originally Posted by WildCard65 View Post
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.

Last edited by klippy; 12-12-2017 at 07:04.
klippy is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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