Difference between revisions of "Data:getPointer"

m (1 revision: Importing from potato (again).)
(fixed wording and return)
Line 1: Line 1:
 
+
Gets a pointer to the Data.
Gets size of the Data.
 
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===
Line 9: Line 8:
 
None.
 
None.
 
=== Returns ===
 
=== Returns ===
{{param|pointer|ptr|A raw pointer to the Data.}}
+
{{param|light userdata|ptr|A raw pointer to the Data.}}
 
{{param|number|size|The size of the Data in bytes.}}
 
{{param|number|size|The size of the Data in bytes.}}
 
== See Also ==
 
== See Also ==
 
* [[parent::Data]]
 
* [[parent::Data]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=Gets size of the Data.}}
+
{{#set:Description=Gets a pointer to the Data.}}

Revision as of 08:42, 16 October 2010

Gets a pointer to the Data.

Function

Synopsis

ptr, size = Data:getPointer( )

Arguments

None.

Returns

light userdata ptr
A raw pointer to the Data.
number size
The size of the Data in bytes.

See Also