Garry's Mod Wiki



A proto is a function prototype that has been described in code but not initialized as a callable object.

You can browse its bytecode and debug information with the jit.util functions, but it cannot be executed.

A proto has the same relationship with a function as classes have with its objects in OOP languages: a class can have multiple object instances, but objects are only of single class type. In the same way, protos can have multiple function instances but there is only a single proto describing those instances.

See jit.util.funck for an example.

Special Pages



Render Time: 67ms

DB GetPage 48
Generate Html 2
SaveChanges (1) 6
Render Body 0
Render Sidebar 8