Change DocData comparators for MethodDoc and ArgumentDoc to get a better ordering of constructors.
49 lines
1.3 KiB
XML
49 lines
1.3 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="float" version="4.0">
|
|
<brief_description>
|
|
Float built-in type.
|
|
</brief_description>
|
|
<description>
|
|
Float built-in type.
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
<methods>
|
|
<method name="float">
|
|
<return type="float">
|
|
</return>
|
|
<description>
|
|
Constructs a default-initialized [float] set to [code]0.0[/code].
|
|
</description>
|
|
</method>
|
|
<method name="float">
|
|
<return type="float">
|
|
</return>
|
|
<argument index="0" name="from" type="float">
|
|
</argument>
|
|
<description>
|
|
Constructs a [float] as a copy of the given [float].
|
|
</description>
|
|
</method>
|
|
<method name="float">
|
|
<return type="float">
|
|
</return>
|
|
<argument index="0" name="from" type="bool">
|
|
</argument>
|
|
<description>
|
|
Cast a [bool] value to a floating-point value, [code]float(true)[/code] will be equal to 1.0 and [code]float(false)[/code] will be equal to 0.0.
|
|
</description>
|
|
</method>
|
|
<method name="float">
|
|
<return type="float">
|
|
</return>
|
|
<argument index="0" name="from" type="int">
|
|
</argument>
|
|
<description>
|
|
Cast an [int] value to a floating-point value, [code]float(1)[/code] will be equal to [code]1.0[/code].
|
|
</description>
|
|
</method>
|
|
</methods>
|
|
<constants>
|
|
</constants>
|
|
</class>
|