aboutsummaryrefslogtreecommitdiffstats
path: root/util/generic/string.pxd
diff options
context:
space:
mode:
authorVlad Yaroslavlev <vladon@vladon.com>2022-02-10 16:46:25 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:25 +0300
commit344ea37b4a345701ab0e67de2266a1c1bd7baf2d (patch)
tree1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /util/generic/string.pxd
parent706b83ed7de5a473436620367af31fc0ceecde07 (diff)
downloadydb-344ea37b4a345701ab0e67de2266a1c1bd7baf2d.tar.gz
Restoring authorship annotation for Vlad Yaroslavlev <vladon@vladon.com>. Commit 2 of 2.
Diffstat (limited to 'util/generic/string.pxd')
-rw-r--r--util/generic/string.pxd50
1 files changed, 25 insertions, 25 deletions
diff --git a/util/generic/string.pxd b/util/generic/string.pxd
index 1b3850c0b2..c25f7392a1 100644
--- a/util/generic/string.pxd
+++ b/util/generic/string.pxd
@@ -12,22 +12,22 @@ cdef extern from "<util/generic/strbuf.h>" nogil:
size_t Size()
-cdef extern from "<util/generic/string.h>" nogil:
+cdef extern from "<util/generic/string.h>" nogil:
- size_t npos "TString::npos"
+ size_t npos "TString::npos"
# Inheritance is bogus, but it's safe to assume TString is-a TStringBuf via implicit cast
cdef cppclass TString(TStringBuf):
- TString() except +
- TString(TString&) except +
- TString(_std_string&) except +
- TString(TString&, size_t, size_t) except +
- TString(char*) except +
- TString(char*, size_t) except +
- TString(char*, size_t, size_t) except +
- # as a TString formed by a repetition of character c, n times.
- TString(size_t, char) except +
- TString(char*, char*) except +
+ TString() except +
+ TString(TString&) except +
+ TString(_std_string&) except +
+ TString(TString&, size_t, size_t) except +
+ TString(char*) except +
+ TString(char*, size_t) except +
+ TString(char*, size_t, size_t) except +
+ # as a TString formed by a repetition of character c, n times.
+ TString(size_t, char) except +
+ TString(char*, char*) except +
TString(TStringBuf&) except +
TString(TStringBuf&, TStringBuf&) except +
TString(TStringBuf&, TStringBuf&, TStringBuf&) except +
@@ -48,22 +48,22 @@ cdef extern from "<util/generic/string.h>" nogil:
TString& append(TStringBuf&) except +
TString& append(TStringBuf&, size_t, size_t) except +
- TString& append(char *) except +
- TString& append(char *, size_t) except +
- TString& append(size_t, char) except +
+ TString& append(char *) except +
+ TString& append(char *, size_t) except +
+ TString& append(size_t, char) except +
void push_back(char c) except +
TString& assign(TStringBuf&) except +
TString& assign(TStringBuf&, size_t, size_t) except +
- TString& assign(char *) except +
- TString& assign(char *, size_t) except +
+ TString& assign(char *) except +
+ TString& assign(char *, size_t) except +
- TString& insert(size_t, TString&) except +
- TString& insert(size_t, TString&, size_t, size_t) except +
- TString& insert(size_t, char* s) except +
- TString& insert(size_t, char* s, size_t) except +
- TString& insert(size_t, size_t, char c) except +
+ TString& insert(size_t, TString&) except +
+ TString& insert(size_t, TString&, size_t, size_t) except +
+ TString& insert(size_t, char* s) except +
+ TString& insert(size_t, char* s, size_t) except +
+ TString& insert(size_t, size_t, char c) except +
size_t copy(char *, size_t) except +
size_t copy(char *, size_t, size_t) except +
@@ -93,11 +93,11 @@ cdef extern from "<util/generic/string.h>" nogil:
size_t find_last_of(TStringBuf& set)
size_t find_last_of(TStringBuf& set, size_t pos)
- TString substr(size_t pos) except +
- TString substr(size_t pos, size_t n) except +
+ TString substr(size_t pos) except +
+ TString substr(size_t pos, size_t n) except +
TString operator+(TStringBuf& rhs) except +
- TString operator+(char* rhs) except +
+ TString operator+(char* rhs) except +
bint operator==(TStringBuf&)
bint operator==(char*)