Skip to content

Commit 0690af1

Browse files
Update CPy.h
1 parent f79679e commit 0690af1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mypyc/lib-rt/CPy.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -752,7 +752,8 @@ bool CPyStr_IsTrue(PyObject *obj);
752752
Py_ssize_t CPyStr_Size_size_t(PyObject *str);
753753
PyObject *CPy_Decode(PyObject *obj, PyObject *encoding, PyObject *errors);
754754
PyObject *CPy_Encode(PyObject *obj, PyObject *encoding, PyObject *errors);
755-
Py_ssize_t CPyStr_Count(PyObject *unicode, PyObject *substring, Py_ssize_t start);
755+
Py_ssize_t CPyStr_Count(PyObject *unicode, PyObject *substring, CPyTagged start);
756+
Py_ssize_t CPyStr_CountFull(PyObject *unicode, PyObject *substring, CPyTagged start, CPyTagged end);
756757
CPyTagged CPyStr_Ord(PyObject *obj);
757758

758759

0 commit comments

Comments
 (0)