L3DT documentation
Large 3D terrain generator

zvar_Delete

Description

Delete a variable.

Files

Declaration Zeolite.h
Implementation Zeolite.cpp

Function prototype

bool zvar_Delete(ZVAR& hVar);

Arguments

Name Type Comment
hVar ZVAR& A ZVAR handle to the variable to be deleted, passed by reference.

Return value

False if an error occurred, and true otherwise.

Comments

The zvar_Delete function modifies the hVar argument such that the handle is set to null, and cannot be used without first re-assigning it to another variable (e.g. using zvar_Create, zvar_GetSharedVar, zlist_GetItemA, etc). Using an unassigned ZVAR is a sure way to get a general protection fault from Windows.

 
zeolite/functions/zvar_delete.txt · Last modified: 2017/08/31 05:41 (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