File indexing completed on 2025-03-13 09:20:57
0001 #ifndef Py_INTERNAL_BYTESOBJECT_H
0002 #define Py_INTERNAL_BYTESOBJECT_H
0003 #ifdef __cplusplus
0004 extern "C" {
0005 #endif
0006
0007 #ifndef Py_BUILD_CORE
0008 # error "this header requires Py_BUILD_CORE define"
0009 #endif
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020 PyAPI_FUNC(Py_ssize_t)
0021 _PyBytes_Find(const char *haystack, Py_ssize_t len_haystack,
0022 const char *needle, Py_ssize_t len_needle,
0023 Py_ssize_t offset);
0024
0025
0026 PyAPI_FUNC(Py_ssize_t)
0027 _PyBytes_ReverseFind(const char *haystack, Py_ssize_t len_haystack,
0028 const char *needle, Py_ssize_t len_needle,
0029 Py_ssize_t offset);
0030
0031
0032
0033
0034
0035
0036
0037
0038
0039
0040 PyAPI_FUNC(void)
0041 _PyBytes_Repeat(char* dest, Py_ssize_t len_dest,
0042 const char* src, Py_ssize_t len_src);
0043
0044 #ifdef __cplusplus
0045 }
0046 #endif
0047 #endif