aboutsummaryrefslogtreecommitdiffstats
path: root/util/generic/ptr.pxd
diff options
context:
space:
mode:
authorStanislav Kirillov <staskirillov@gmail.com>2022-02-10 16:46:07 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:07 +0300
commit92fe2b1e7bc79f7b95adef61714fc003f6ea4a1c (patch)
tree817034f4ca57c9f841bb047ec94630c2e78a2b1d /util/generic/ptr.pxd
parent53c76da6d9f6cc5a17f6029df396f0e3bc1ff47d (diff)
downloadydb-92fe2b1e7bc79f7b95adef61714fc003f6ea4a1c.tar.gz
Restoring authorship annotation for Stanislav Kirillov <staskirillov@gmail.com>. Commit 1 of 2.
Diffstat (limited to 'util/generic/ptr.pxd')
-rw-r--r--util/generic/ptr.pxd46
1 files changed, 23 insertions, 23 deletions
diff --git a/util/generic/ptr.pxd b/util/generic/ptr.pxd
index 16e8d19144..b56edbbfc3 100644
--- a/util/generic/ptr.pxd
+++ b/util/generic/ptr.pxd
@@ -1,26 +1,26 @@
cdef extern from "<util/generic/ptr.h>" nogil:
cdef cppclass THolder[T]:
- THolder(...)
+ THolder(...)
T* Get()
void Destroy()
T* Release()
- void Reset()
+ void Reset()
void Reset(T*)
- void Swap(THolder[T])
-
-
- cdef THolder[T] MakeHolder[T](...)
-
-
- cdef cppclass TIntrusivePtr[T]:
- TIntrusivePtr()
- TIntrusivePtr(T*)
- TIntrusivePtr& operator=(...)
- void Reset(T*)
- T* Get()
- T* Release()
- void Drop()
-
+ void Swap(THolder[T])
+
+
+ cdef THolder[T] MakeHolder[T](...)
+
+
+ cdef cppclass TIntrusivePtr[T]:
+ TIntrusivePtr()
+ TIntrusivePtr(T*)
+ TIntrusivePtr& operator=(...)
+ void Reset(T*)
+ T* Get()
+ T* Release()
+ void Drop()
+
cdef cppclass TIntrusiveConstPtr[T]:
TIntrusiveConstPtr()
@@ -31,12 +31,12 @@ cdef extern from "<util/generic/ptr.h>" nogil:
void Drop()
- cdef cppclass TAtomicSharedPtr[T]:
- TAtomicSharedPtr()
- TAtomicSharedPtr(T*)
- T& operator*()
- T* Get()
- void Reset(T*)
+ cdef cppclass TAtomicSharedPtr[T]:
+ TAtomicSharedPtr()
+ TAtomicSharedPtr(T*)
+ T& operator*()
+ T* Get()
+ void Reset(T*)
cdef TAtomicSharedPtr[T] MakeAtomicShared[T](...)