String documentation: .ord_at() returns int not String
fixes #5189
(cherry picked from commit 58a891265a
)
This commit is contained in:
parent
d662f5aa63
commit
c1e004ffca
|
@ -1279,7 +1279,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,extension,varray());
|
||||||
ADDFUNC0(STRING,STRING,String,basename,varray());
|
ADDFUNC0(STRING,STRING,String,basename,varray());
|
||||||
ADDFUNC1(STRING,STRING,String,plus_file,STRING,"file",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,String,erase,INT,INT,varray());
|
// ADDFUNC2(STRING,String,erase,INT,INT,varray());
|
||||||
ADDFUNC0(STRING,INT,String,hash,varray());
|
ADDFUNC0(STRING,INT,String,hash,varray());
|
||||||
ADDFUNC0(STRING,STRING,String,md5_text,varray());
|
ADDFUNC0(STRING,STRING,String,md5_text,varray());
|
||||||
|
|
|
@ -35242,7 +35242,7 @@ This method controls whether the position between two cached points is interpola
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="ord_at">
|
<method name="ord_at">
|
||||||
<return type="String">
|
<return type="int">
|
||||||
</return>
|
</return>
|
||||||
<argument index="0" name="at" type="int">
|
<argument index="0" name="at" type="int">
|
||||||
</argument>
|
</argument>
|
||||||
|
|
Loading…
Reference in New Issue