Difference between revisions of "Data:getPointer"

(Removed oldin and fixed return value)
Line 1: Line 1:
{{oldin|[[0.9.0]]|090|type=method}}
 
 
Gets a pointer to the Data.
 
Gets a pointer to the Data.
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===
 
<source lang="lua">
 
<source lang="lua">
ptr, size = Data:getPointer( )
+
pointer = Data:getPointer( )
 
</source>
 
</source>
 
=== Arguments ===
 
=== Arguments ===
 
None.
 
None.
 
=== Returns ===
 
=== Returns ===
{{param|light userdata|ptr|A raw pointer to the Data.}}
+
{{param|light userdata|pointer|A raw pointer to the Data.}}
{{param|number|size|The size of the Data in bytes.}}
 
 
== See Also ==
 
== See Also ==
 
* [[parent::Data]]
 
* [[parent::Data]]
 +
* [[Data:getSize]]
 +
* [[Data:getString]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 
{{#set:Description=Gets a pointer to the Data.}}
 
{{#set:Description=Gets a pointer to the Data.}}

Revision as of 20:19, 29 August 2013

Gets a pointer to the Data.

Function

Synopsis

pointer = Data:getPointer( )

Arguments

None.

Returns

light userdata pointer
A raw pointer to the Data.

See Also


Other Languages