forked from Mirrors/openclonk
22 lines
800 B
XML
22 lines
800 B
XML
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
<!DOCTYPE funcs
|
|
SYSTEM '../../../clonk.dtd'>
|
|
<?xml-stylesheet type="text/xsl" href="../../../clonk.xsl"?>
|
|
<funcs>
|
|
<const>
|
|
<title>C4V_C4Object</title>
|
|
<category>Variables</category>
|
|
<version>5.1 OC</version>
|
|
<syntax><rtype>int</rtype></syntax>
|
|
<desc>Data type: object pointer.</desc>
|
|
<examples>
|
|
<example>
|
|
<code><funclink>if</funclink> (x && <funclink>GetType</funclink>(x)==C4V_C4Object) <funclink>Log</funclink>("x=%s", <funclink>GetName</funclink>(x));</code>
|
|
<text>Writes the name of x to the log if it is an object.</text>
|
|
</example>
|
|
</examples>
|
|
<related><funclink>GetType</funclink></related>
|
|
</const>
|
|
<author>Sven2</author><date>2002-04</date>
|
|
</funcs>
|