L3DT documentation
Large 3D terrain generator

var_GetDataPtr

Description

Retrieve the raw memory handle to the data contained within a ZVAR.

Function prototype

void* CExtAPI::var_GetDataPtr(ZVAR hVar);

Arguments

Name Type Comment
hVar ZVAR The handle to variable for which the data pointer is to be retrieved.

Return value

A null pointer if:

  • The variable is not initialised.
  • The variable is of type VarID_void.
  • An unspecified error occurred.

Otherwise, a valid handle is returned.

Comments

This function should not be used. If you need to set/get variable values, use var_SetValue/var_GetValue. If you need to manipulate data in class variables, use the relevant API functions (e.g. format_GetExt).

 
zeolite/functions/var_getdataptr.txt · Last modified: 2017/08/31 07:07 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki