forked from cztomczak/cefpython
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwstring.pxd
More file actions
126 lines (96 loc) · 4.11 KB
/
wstring.pxd
File metadata and controls
126 lines (96 loc) · 4.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
# Copyright (c) Cython
from libc.stddef cimport wchar_t
from libcpp.string cimport string
cdef extern from *:
# noinspection PyUnresolvedReferences
ctypedef wchar_t const_wchar_t "const wchar_t"
cdef extern from "<string>" namespace "std":
size_t npos = -1
cdef cppclass wstring:
wstring() nogil except +
wstring(wchar_t *) nogil except +
wstring(wchar_t *, size_t) nogil except +
wstring(string&) nogil except +
# as a string formed by a repetition of character c, n times.
wstring(size_t, char) nogil except +
const_wchar_t* c_str() nogil
const_wchar_t* data() nogil
size_t size() nogil
size_t max_size() nogil
size_t length() nogil
void resize(size_t) nogil
void resize(size_t, char c) nogil
size_t capacity() nogil
void reserve(size_t) nogil
void clear() nogil
bint empty() nogil
#char& at(size_t) nogil
#char& operator[](size_t) nogil
#int compare(string&) nogil
#string& append(string&) nogil
#string& append(string&, size_t, size_t) nogil
#string& append(char *) nogil
#string& append(char *, size_t) nogil
#string& append(size_t, char) nogil
#void push_back(char c) nogil
#string& assign (string&) nogil
#string& assign (string&, size_t, size_t) nogil
#string& assign (char *, size_t) nogil
#string& assign (char *) nogil
#string& assign (size_t n, char c) nogil
#string& insert(size_t, string&) nogil
#string& insert(size_t, string&, size_t, size_t) nogil
#string& insert(size_t, char* s, size_t) nogil
#string& insert(size_t, char* s) nogil
#string& insert(size_t, size_t, char c) nogil
#size_t copy(char *, size_t, size_t) nogil
#size_t find(string&) nogil
#size_t find(string&, size_t) nogil
#size_t find(char*, size_t pos, size_t) nogil
#size_t find(char*, size_t pos) nogil
#size_t find(char, size_t pos) nogil
#size_t rfind(string&, size_t) nogil
#size_t rfind(char* s, size_t, size_t) nogil
#size_t rfind(char*, size_t pos) nogil
#size_t rfind(char c, size_t) nogil
#size_t rfind(char c) nogil
#size_t find_first_of(string&, size_t) nogil
#size_t find_first_of(char* s, size_t, size_t) nogil
#size_t find_first_of(char*, size_t pos) nogil
#size_t find_first_of(char c, size_t) nogil
#size_t find_first_of(char c) nogil
#size_t find_first_not_of(string&, size_t) nogil
#size_t find_first_not_of(char* s, size_t, size_t) nogil
#size_t find_first_not_of(char*, size_t pos) nogil
#size_t find_first_not_of(char c, size_t) nogil
#size_t find_first_not_of(char c) nogil
#size_t find_last_of(string&, size_t) nogil
#size_t find_last_of(char* s, size_t, size_t) nogil
#size_t find_last_of(char*, size_t pos) nogil
#size_t find_last_of(char c, size_t) nogil
#size_t find_last_of(char c) nogil
#size_t find_last_not_of(string&, size_t) nogil
#size_t find_last_not_of(char* s, size_t, size_t) nogil
#size_t find_last_not_of(char*, size_t pos) nogil
#string substr(size_t, size_t) nogil
#string substr() nogil
#string substr(size_t) nogil
#size_t find_last_not_of(char c, size_t) nogil
#size_t find_last_not_of(char c) nogil
#string& operator= (string&)
#string& operator= (char*)
#string& operator= (char)
#string operator+ (string& rhs) nogil
#string operator+ (char* rhs) nogil
#bint operator==(string&) nogil
#bint operator==(char*) nogil
#bint operator!= (string& rhs ) nogil
#bint operator!= (char* ) nogil
#bint operator< (string&) nogil
#bint operator< (char*) nogil
#bint operator> (string&) nogil
#bint operator> (char*) nogil
#bint operator<= (string&) nogil
#bint operator<= (char*) nogil
#bint operator>= (string&) nogil
#bint operator>= (char*) nogil