Category:proto

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
(Added hotlinking to var types)
(typo)
Line 3: Line 3:
 
It's a pretty much a {{Type|function}} that has been described in the code, but not created yet.
 
It's a pretty much a {{Type|function}} that has been described in the code, but not created yet.
  
You can't browse it's bytecode, all of it's debug information (with jit.util functions) but cannot execute it.
+
You can browse it's bytecode, all of it's debug information (with jit.util functions) but cannot execute it.
  
 
In Lua, A {{Type|proto}} has the same relationship with a {{Type|function}} than Classes and it's Objects in any other OOP Language.
 
In Lua, A {{Type|proto}} has the same relationship with a {{Type|function}} than Classes and it's Objects in any other OOP Language.

Revision as of 09:48, 12 November 2019

A proto is a function prototype.

It's a pretty much a function that has been described in the code, but not created yet.

You can browse it's bytecode, all of it's debug information (with jit.util functions) but cannot execute it.

In Lua, A proto has the same relationship with a function than Classes and it's Objects in any other OOP Language.

This category currently contains no pages or media.

Personal tools
Navigation