Improve description of find_item_by_name() method in MeshLibrary class doc
Specify what the method find_item_by_name() returns if no item is found.
This commit is contained in:
@ -29,7 +29,7 @@
|
|||||||
<return type="int" />
|
<return type="int" />
|
||||||
<param index="0" name="name" type="String" />
|
<param index="0" name="name" type="String" />
|
||||||
<description>
|
<description>
|
||||||
Returns the first item with the given name.
|
Returns the first item with the given name, or [code]-1[/code] if no item is found.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="get_item_list" qualifiers="const">
|
<method name="get_item_list" qualifiers="const">
|
||||||
|
|||||||
Reference in New Issue
Block a user