Home
last modified time | relevance | path

Searched refs:SwigMovePointer (Results 1 – 3 of 3) sorted by relevance

/external/marisa-trie/bindings/perl/
Dmarisa-swig_wrap.cxx18 struct SwigMovePointer { struct in SwigValueWrapper
20 SwigMovePointer(T *p) : ptr(p) { } in SwigMovePointer() argument
21 ~SwigMovePointer() { delete ptr; } in ~SwigMovePointer() argument
22SwigMovePointer& operator=(SwigMovePointer& rhs) { T* oldptr = ptr; ptr = 0; delete oldptr; ptr = … in operator =() argument
28 …SwigValueWrapper& operator=(const T& t) { SwigMovePointer tmp(new T(t)); pointer = tmp; return *th… in operator =()
/external/marisa-trie/bindings/ruby/
Dmarisa-swig_wrap.cxx17 struct SwigMovePointer { struct in SwigValueWrapper
19 SwigMovePointer(T *p) : ptr(p) { } in SwigMovePointer() argument
20 ~SwigMovePointer() { delete ptr; } in ~SwigMovePointer() argument
21SwigMovePointer& operator=(SwigMovePointer& rhs) { T* oldptr = ptr; ptr = 0; delete oldptr; ptr = … in operator =() argument
27 …SwigValueWrapper& operator=(const T& t) { SwigMovePointer tmp(new T(t)); pointer = tmp; return *th… in operator =()
/external/marisa-trie/bindings/python/
Dmarisa-swig_wrap.cxx18 struct SwigMovePointer { struct in SwigValueWrapper
20 SwigMovePointer(T *p) : ptr(p) { } in SwigMovePointer() argument
21 ~SwigMovePointer() { delete ptr; } in ~SwigMovePointer() argument
22SwigMovePointer& operator=(SwigMovePointer& rhs) { T* oldptr = ptr; ptr = 0; delete oldptr; ptr = … in operator =() argument
28 …SwigValueWrapper& operator=(const T& t) { SwigMovePointer tmp(new T(t)); pointer = tmp; return *th… in operator =()