Skip to content

Commit 849a7f7

Browse files
ilevkivskyiIvan Levkivskyi
and
Ivan Levkivskyi
authored
Add missing functions to header (#9730)
Co-authored-by: Ivan Levkivskyi <[email protected]>
1 parent 0c80091 commit 849a7f7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

mypyc/lib-rt/CPy.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -377,6 +377,8 @@ PyObject *CPyStr_GetItem(PyObject *str, CPyTagged index);
377377
PyObject *CPyStr_Split(PyObject *str, PyObject *sep, CPyTagged max_split);
378378
PyObject *CPyStr_Append(PyObject *o1, PyObject *o2);
379379
PyObject *CPyStr_GetSlice(PyObject *obj, CPyTagged start, CPyTagged end);
380+
bool CPyStr_Startswith(PyObject *self, PyObject *subobj);
381+
bool CPyStr_Endswith(PyObject *self, PyObject *subobj);
380382

381383

382384
// Set operations

0 commit comments

Comments
 (0)