jit.util.ircalladdr

From Garry's Mod
Jump to: navigation, search
 jit.util.ircalladdr( )

Contents

Description

Gets the address of a function from a list of 20 functions, for the list see Ircalladdr Functions

WARNING

This function isn't officially documented on LuJIT wiki, use it at your own risk.

Arguments

number index

The index of the function address to get from the ircalladdr func array (starting from 0)

Returns

number

The address of the function

Examples

Example

Get the address of sinh (ircalladdr array function #15)

local sinhAddress = jit.util.ircalladdr(14)
print(sinhAddress)


Personal tools
Navigation