String documentation: .ord_at() returns int not String

fixes #5189
This commit is contained in:
J08nY 2016-06-14 14:52:32 +02:00
parent 333de40180
commit 58a891265a
No known key found for this signature in database
GPG Key ID: 7F4A448FE68F329D
2 changed files with 2 additions and 2 deletions

View File

@ -1290,7 +1290,7 @@ _VariantCall::addfunc(Variant::m_vtype,Variant::m_ret,_SCS(#m_method),VCALL(m_cl
ADDFUNC0(STRING,STRING,String,extension,varray());
ADDFUNC0(STRING,STRING,String,basename,varray());
ADDFUNC1(STRING,STRING,String,plus_file,STRING,"file",varray());
ADDFUNC1(STRING,STRING,String,ord_at,INT,"at",varray());
ADDFUNC1(STRING,INT,String,ord_at,INT,"at",varray());
ADDFUNC2(STRING,NIL,String,erase,INT,"pos",INT,"chars", varray());
ADDFUNC0(STRING,INT,String,hash,varray());
ADDFUNC0(STRING,STRING,String,md5_text,varray());

View File

@ -37385,7 +37385,7 @@ This method controls whether the position between two cached points is interpola
</description>
</method>
<method name="ord_at">
<return type="String">
<return type="int">
</return>
<argument index="0" name="at" type="int">
</argument>