L3DT documentation
Large 3D terrain generator



Execute a Zeolite extension function and retrieve the return value.

Function prototype

bool CExtAPI::zeofunc_Execute2(ZFUNC hFunc, ZLIST hArgList, ZVAR* phRval);


Name Type Comment
hFunc ZFUNC A handle to the extension function to be executed.
hArgList ZLIST A handle to the argument list to be passed to the function.
phRval ZVAR* A handle to a caller-provided, initialised variable handle to contain the return value.

Return value

False if an error occurred, and true otherwise.


Use CzFunc wrapper

It is strongly recommended that developers use the CzFunc wrapper in preference to the API zeofunc_ methods. CzFunc automates some of the labour in dealing with argument prototype lists and return value handling.

Thread safety

zeofunc_Execute2 is a threadsafe version of zeofunc_Execute, which used a common return variable for all function calls, including parallel calls from different threads. zeofunc_Execute2 should alwyas be used in preference to zeofunc_Execute.

zeolite/functions/zeofunc_execute2.txt · Last modified: 2017/08/31 06:28 (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