MTA:Eir/FileSystem/topointer: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Created page with "__NOTOC__ This function returns the light-userdata representation of the object. This is the direct pointer into the Eir FileSystem module handle. ==Syntax== <syntaxhighlight lang="lua"> light-userdata fsnamespace.topointer( object obj ) </syntaxhighlight> ==Arguments== *'''obj''': the userdata of the Eir FileSystem Lua environment ==Returns== This function returns the light-userdata value of the internal object, false if not successful. ==Example== <syntaxhighlight...")
 
No edit summary
 
Line 4: Line 4:
==Syntax==
==Syntax==
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">
light-userdata fsnamespace.topointer( object obj )
light-userdata fsnamespace.topointer( userdata obj )
</syntaxhighlight>
</syntaxhighlight>



Latest revision as of 23:04, 16 January 2022

This function returns the light-userdata representation of the object. This is the direct pointer into the Eir FileSystem module handle.

Syntax

light-userdata fsnamespace.topointer( userdata obj )

Arguments

  • obj: the userdata of the Eir FileSystem Lua environment

Returns

This function returns the light-userdata value of the internal object, false if not successful.

Example

-- TODO

FileSystem Namespace Functions