| 1 | /* |
| 2 | * Copyright (C) 2004, 2008, 2009 Apple Inc. All rights reserved. |
| 3 | * |
| 4 | * This library is free software; you can redistribute it and/or |
| 5 | * modify it under the terms of the GNU Library General Public |
| 6 | * License as published by the Free Software Foundation; either |
| 7 | * version 2 of the License, or (at your option) any later version. |
| 8 | * |
| 9 | * This library is distributed in the hope that it will be useful, |
| 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 12 | * Library General Public License for more details. |
| 13 | * |
| 14 | * You should have received a copy of the GNU Library General Public License |
| 15 | * along with this library; see the file COPYING.LIB. If not, write to |
| 16 | * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
| 17 | * Boston, MA 02110-1301, USA. |
| 18 | * |
| 19 | */ |
| 20 | |
| 21 | |
| 22 | #ifndef Protect_h |
| 23 | #define Protect_hcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/runtime/Protect.h:23:9`! |
| 24 | |
| 25 | #include "Collector.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/runtime/Collector.h`/ |
| 26 | #include "JSValue.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/runtime/JSValue.h`/ |
| 27 | |
| 28 | namespace JSCcxx . . $ `<built-in>:463:9`! { |
| 29 | |
| 30 | inline void gcProtectcxx . . $ QTJSC/gcProtect(c6d88d3bdacccd64).(JSCellcxx . . $ QTJSC/JSCell#* val) |
| 31 | { |
| 32 | Heapcxx . . $ QTJSC/Heap#::heapcxx . . $ QTJSC/Heap#heap(eedc9d5ae2d54a92).(val)->protectcxx . . $ QTJSC/Heap#protect(5c2ac18db087b3e6).(valcxx . . $ QTJSC/JSValue#JSValue(c6d88d3bdacccd64).); |
| 33 | } |
| 34 | |
| 35 | inline void gcUnprotectcxx . . $ QTJSC/gcUnprotect(c6d88d3bdacccd64).(JSCellcxx . . $ QTJSC/JSCell#* val) |
| 36 | { |
| 37 | Heapcxx . . $ QTJSC/Heap#::heapcxx . . $ QTJSC/Heap#heap(eedc9d5ae2d54a92).(val)->unprotectcxx . . $ QTJSC/Heap#unprotect(5c2ac18db087b3e6).(valcxx . . $ QTJSC/JSValue#JSValue(c6d88d3bdacccd64).); |
| 38 | } |
| 39 | |
| 40 | inline void gcProtectNullTolerantcxx . . $ QTJSC/gcProtectNullTolerant(c6d88d3bdacccd64).(JSCellcxx . . $ QTJSC/JSCell#* val) |
| 41 | { |
| 42 | if (val) |
| 43 | gcProtectcxx . . $ QTJSC/gcProtect(c6d88d3bdacccd64).(val); |
| 44 | } |
| 45 | |
| 46 | inline void gcUnprotectNullTolerantcxx . . $ QTJSC/gcUnprotectNullTolerant(c6d88d3bdacccd64).(JSCellcxx . . $ QTJSC/JSCell#* val) |
| 47 | { |
| 48 | if (val) |
| 49 | gcUnprotectcxx . . $ QTJSC/gcUnprotect(c6d88d3bdacccd64).(val); |
| 50 | } |
| 51 | |
| 52 | inline void gcProtectcxx . . $ QTJSC/gcProtect(5c2ac18db087b3e6).(JSValuecxx . . $ QTJSC/JSValue# value) |
| 53 | { |
| 54 | if (value && value.isCellcxx . . $ QTJSC/JSValue#isCell(50ce9a9e25b4a850).()) |
| 55 | gcProtectcxx . . $ QTJSC/gcProtect(c6d88d3bdacccd64).(asCellcxx . . $ QTJSC/asCell(31485abf284d9c5).(value)); |
| 56 | } |
| 57 | |
| 58 | inline void gcUnprotectcxx . . $ QTJSC/gcUnprotect(5c2ac18db087b3e6).(JSValuecxx . . $ QTJSC/JSValue# value) |
| 59 | { |
| 60 | if (value && value.isCellcxx . . $ QTJSC/JSValue#isCell(50ce9a9e25b4a850).()) |
| 61 | gcUnprotectcxx . . $ QTJSC/gcUnprotect(c6d88d3bdacccd64).(asCellcxx . . $ QTJSC/asCell(31485abf284d9c5).(value)); |
| 62 | } |
| 63 | |
| 64 | // FIXME: Share more code with RefPtr template? The only differences are the ref/deref operation |
| 65 | // and the implicit conversion to raw pointer |
| 66 | template <class T> class ProtectedPtrcxx . . $ QTJSC/ProtectedPtr# { |
| 67 | public: |
| 68 | ProtectedPtrcxx . . $ QTJSC/ProtectedPtr#`ProtectedPtr<T>`(49f6e7a06ebc5aa8).() : m_ptrcxx . . $ QTJSC/ProtectedPtr#m_ptr.(0) {} |
| 69 | ProtectedPtrcxx . . $ QTJSC/ProtectedPtr#`ProtectedPtr<T>`(ebd0a1552f8ce24f).(T* ptr); |
| 70 | ProtectedPtrcxx . . $ QTJSC/ProtectedPtr#`ProtectedPtr<T>`(dc712e6db55110d0).(const ProtectedPtr&); |
| 71 | ~cxx . . $ QTJSC/ProtectedPtr#`~ProtectedPtr<T>`(49f6e7a06ebc5aa8).ProtectedPtr(); |
| 72 | |
| 73 | template <class U> ProtectedPtrcxx . . $ QTJSC/ProtectedPtr#`ProtectedPtr<T>`(5b76a11c25873487).(const ProtectedPtrcxx . . $ QTJSC/ProtectedPtr#<U>&); |
| 74 | |
| 75 | T* getcxx . . $ QTJSC/ProtectedPtr#get(5a2a78a048fb49a8).() const { return m_ptrcxx . . $ QTJSC/ProtectedPtr#m_ptr.; } |
| 76 | operatorcxx . . $ QTJSC/ProtectedPtr#`operator type-parameter-0-0 *`(5a2a78a048fb49a8). T*() const { return m_ptrcxx . . $ QTJSC/ProtectedPtr#m_ptr.; } |
| 77 | operatorcxx . . $ QTJSC/ProtectedPtr#`operator JSValue`(888c053acf364da1). JSValuecxx . . $ QTJSC/JSValue#() const { return JSValuecxx . . $ QTJSC/JSValue#(m_ptrcxx . . $ QTJSC/ProtectedPtr#m_ptr.); } |
| 78 | T* operatorcxx . . $ QTJSC/ProtectedPtr#`operator->`(5a2a78a048fb49a8).->() const { return m_ptrcxx . . $ QTJSC/ProtectedPtr#m_ptr.; } |
| 79 | |
| 80 | operatorcxx . . $ QTJSC/ProtectedPtr#`operator bool`(50ce9a9e25b4a850). bool() const { return m_ptrcxx . . $ QTJSC/ProtectedPtr#m_ptr.; } |
| 81 | bool operatorcxx . . $ QTJSC/ProtectedPtr#`operator!`(50ce9a9e25b4a850).!() const { return !m_ptrcxx . . $ QTJSC/ProtectedPtr#m_ptr.; } |
| 82 | |
| 83 | ProtectedPtr& operatorcxx . . $ QTJSC/ProtectedPtr#`operator=`(961fa9e29cd3af13).=(const ProtectedPtr&); |
| 84 | ProtectedPtr& operatorcxx . . $ QTJSC/ProtectedPtr#`operator=`(14c54057824bf2ed).=(T*); |
| 85 | |
| 86 | private: |
| 87 | T* m_ptrcxx . . $ QTJSC/ProtectedPtr#m_ptr.; |
| 88 | }; |
| 89 | |
| 90 | class ProtectedJSValuecxx . . $ QTJSC/ProtectedJSValue# { |
| 91 | public: |
| 92 | ProtectedJSValuecxx . . $ QTJSC/ProtectedJSValue#ProtectedJSValue(49f6e7a06ebc5aa8).() {} |
| 93 | ProtectedJSValuecxx . . $ QTJSC/ProtectedJSValue#ProtectedJSValue(5c2ac18db087b3e6).(JSValuecxx . . $ QTJSC/JSValue# value); |
| 94 | ProtectedJSValuecxx . . $ QTJSC/ProtectedJSValue#ProtectedJSValue(3d7e51b9572eb1e1).(const ProtectedJSValuecxx . . $ QTJSC/ProtectedJSValue#&); |
| 95 | ~cxx . . $ QTJSC/ProtectedJSValue#`~ProtectedJSValue`(49f6e7a06ebc5aa8).ProtectedJSValuecxx . . $ QTJSC/ProtectedJSValue#(); |
| 96 | |
| 97 | template <class U> ProtectedJSValuecxx . . $ QTJSC/ProtectedJSValue#ProtectedJSValue(2b94f931b1110672).(const ProtectedPtrcxx . . $ QTJSC/ProtectedPtr#<U>&); |
| 98 | |
| 99 | JSValuecxx . . $ QTJSC/JSValue# getcxx . . $ QTJSC/ProtectedJSValue#get(888c053acf364da1).() const { return m_valuecxx . . $ QTJSC/ProtectedJSValue#m_value.; } |
| 100 | operatorcxx . . $ QTJSC/ProtectedJSValue#`operator JSValue`(888c053acf364da1). JSValuecxx . . $ QTJSC/JSValue#() const { return m_valuecxx . . $ QTJSC/ProtectedJSValue#m_value.; } |
| 101 | //JSValue operator->() const { return m_value; } |
| 102 | |
| 103 | operatorcxx . . $ QTJSC/ProtectedJSValue#`operator bool`(50ce9a9e25b4a850). bool() const { return m_valuecxx . . $ QTJSC/ProtectedJSValue#m_value.; } |
| 104 | bool operatorcxx . . $ QTJSC/ProtectedJSValue#`operator!`(50ce9a9e25b4a850).!() const { return !m_valuecxx . . $ QTJSC/ProtectedJSValue#m_value.; } |
| 105 | |
| 106 | ProtectedJSValuecxx . . $ QTJSC/ProtectedJSValue#& operatorcxx . . $ QTJSC/ProtectedJSValue#`operator=`(bf931e11c8f00d95).=(const ProtectedJSValuecxx . . $ QTJSC/ProtectedJSValue#&); |
| 107 | ProtectedJSValuecxx . . $ QTJSC/ProtectedJSValue#& operatorcxx . . $ QTJSC/ProtectedJSValue#`operator=`(4cfd92ff8ea9786b).=(JSValuecxx . . $ QTJSC/JSValue#); |
| 108 | |
| 109 | private: |
| 110 | JSValuecxx . . $ QTJSC/JSValue# m_valuecxx . . $ QTJSC/ProtectedJSValue#m_value.; |
| 111 | }; |
| 112 | |
| 113 | template <class T> inline ProtectedPtrcxx . . $ QTJSC/ProtectedPtr#<T>::ProtectedPtrcxx . . $ QTJSC/ProtectedPtr#`ProtectedPtr<T>`(ebd0a1552f8ce24f).(T* ptr) |
| 114 | : m_ptrcxx . . $ QTJSC/ProtectedPtr#m_ptr.(ptr) |
| 115 | { |
| 116 | gcProtectNullTolerantcxx . . $ QTJSC/gcProtectNullTolerant(c6d88d3bdacccd64).(m_ptrcxx . . $ QTJSC/ProtectedPtr#m_ptr.); |
| 117 | } |
| 118 | |
| 119 | template <class T> inline ProtectedPtrcxx . . $ QTJSC/ProtectedPtr#<T>::ProtectedPtrcxx . . $ QTJSC/ProtectedPtr#`ProtectedPtr<T>`(dc712e6db55110d0).(const ProtectedPtr& o) |
| 120 | : m_ptrcxx . . $ QTJSC/ProtectedPtr#m_ptr.(o.getcxx . . $ QTJSC/ProtectedPtr#get(5a2a78a048fb49a8).()) |
| 121 | { |
| 122 | gcProtectNullTolerantcxx . . $ QTJSC/gcProtectNullTolerant(c6d88d3bdacccd64).(m_ptrcxx . . $ QTJSC/ProtectedPtr#m_ptr.); |
| 123 | } |
| 124 | |
| 125 | template <class T> inline ProtectedPtrcxx . . $ QTJSC/ProtectedPtr#<T>::~cxx . . $ QTJSC/ProtectedPtr#`~ProtectedPtr<T>`(49f6e7a06ebc5aa8).ProtectedPtr() |
| 126 | { |
| 127 | gcUnprotectNullTolerantcxx . . $ QTJSC/gcUnprotectNullTolerant(c6d88d3bdacccd64).(m_ptrcxx . . $ QTJSC/ProtectedPtr#m_ptr.); |
| 128 | } |
| 129 | |
| 130 | template <class T> template <class U> inline ProtectedPtrcxx . . $ QTJSC/ProtectedPtr#<T>::ProtectedPtrcxx . . $ QTJSC/ProtectedPtr#`ProtectedPtr<T>`(5b76a11c25873487).(const ProtectedPtrcxx . . $ QTJSC/ProtectedPtr#<U>& o) |
| 131 | : m_ptrcxx . . $ QTJSC/ProtectedPtr#m_ptr.(o.getcxx . . $ QTJSC/ProtectedPtr#get(5a2a78a048fb49a8).()) |
| 132 | { |
| 133 | gcProtectNullTolerantcxx . . $ QTJSC/gcProtectNullTolerant(c6d88d3bdacccd64).(m_ptrcxx . . $ QTJSC/ProtectedPtr#m_ptr.); |
| 134 | } |
| 135 | |
| 136 | template <class T> inline ProtectedPtrcxx . . $ QTJSC/ProtectedPtr#<T>& ProtectedPtrcxx . . $ QTJSC/ProtectedPtr#<T>::operatorcxx . . $ QTJSC/ProtectedPtr#`operator=`(961fa9e29cd3af13).=(const ProtectedPtrcxx . . $ QTJSC/ProtectedPtr#<T>& o) |
| 137 | { |
| 138 | T* optr = o.m_ptrcxx . . $ QTJSC/ProtectedPtr#m_ptr.; |
| 139 | gcProtectNullTolerantcxx . . $ QTJSC/gcProtectNullTolerant(c6d88d3bdacccd64).(optr); |
| 140 | gcUnprotectNullTolerantcxx . . $ QTJSC/gcUnprotectNullTolerant(c6d88d3bdacccd64).(m_ptrcxx . . $ QTJSC/ProtectedPtr#m_ptr.); |
| 141 | m_ptrcxx . . $ QTJSC/ProtectedPtr#m_ptr. = optr; |
| 142 | return *this; |
| 143 | } |
| 144 | |
| 145 | template <class T> inline ProtectedPtrcxx . . $ QTJSC/ProtectedPtr#<T>& ProtectedPtrcxx . . $ QTJSC/ProtectedPtr#<T>::operatorcxx . . $ QTJSC/ProtectedPtr#`operator=`(14c54057824bf2ed).=(T* optr) |
| 146 | { |
| 147 | gcProtectNullTolerantcxx . . $ QTJSC/gcProtectNullTolerant(c6d88d3bdacccd64).(optr); |
| 148 | gcUnprotectNullTolerantcxx . . $ QTJSC/gcUnprotectNullTolerant(c6d88d3bdacccd64).(m_ptrcxx . . $ QTJSC/ProtectedPtr#m_ptr.); |
| 149 | m_ptrcxx . . $ QTJSC/ProtectedPtr#m_ptr. = optr; |
| 150 | return *this; |
| 151 | } |
| 152 | |
| 153 | inline ProtectedJSValuecxx . . $ QTJSC/ProtectedJSValue#::ProtectedJSValuecxx . . $ QTJSC/ProtectedJSValue#ProtectedJSValue(5c2ac18db087b3e6).(JSValuecxx . . $ QTJSC/JSValue# value) |
| 154 | : m_valuecxx . . $ QTJSC/ProtectedJSValue#m_value.(value) |
| 155 | { |
| 156 | gcProtectcxx . . $ QTJSC/gcProtect(5c2ac18db087b3e6).(m_valuecxx . . $ QTJSC/ProtectedJSValue#m_value.); |
| 157 | } |
| 158 | |
| 159 | inline ProtectedJSValuecxx . . $ QTJSC/ProtectedJSValue#::ProtectedJSValuecxx . . $ QTJSC/ProtectedJSValue#ProtectedJSValue(3d7e51b9572eb1e1).(const ProtectedJSValuecxx . . $ QTJSC/ProtectedJSValue#& o) |
| 160 | : m_valuecxx . . $ QTJSC/ProtectedJSValue#m_value.(o.getcxx . . $ QTJSC/ProtectedJSValue#get(888c053acf364da1).()) |
| 161 | { |
| 162 | gcProtectcxx . . $ QTJSC/gcProtect(5c2ac18db087b3e6).(m_valuecxx . . $ QTJSC/ProtectedJSValue#m_value.); |
| 163 | } |
| 164 | |
| 165 | inline ProtectedJSValuecxx . . $ QTJSC/ProtectedJSValue#::~cxx . . $ QTJSC/ProtectedJSValue#`~ProtectedJSValue`(49f6e7a06ebc5aa8).ProtectedJSValuecxx . . $ QTJSC/ProtectedJSValue#() |
| 166 | { |
| 167 | gcUnprotectcxx . . $ QTJSC/gcUnprotect(5c2ac18db087b3e6).(m_valuecxx . . $ QTJSC/ProtectedJSValue#m_value.); |
| 168 | } |
| 169 | |
| 170 | template <class U> ProtectedJSValuecxx . . $ QTJSC/ProtectedJSValue#::ProtectedJSValuecxx . . $ QTJSC/ProtectedJSValue#ProtectedJSValue(2b94f931b1110672).(const ProtectedPtrcxx . . $ QTJSC/ProtectedPtr#<U>& o) |
| 171 | : m_valuecxx . . $ QTJSC/ProtectedJSValue#m_value.(o.getcxx . . $ QTJSC/ProtectedPtr#get(5a2a78a048fb49a8).()) |
| 172 | { |
| 173 | gcProtectcxx . . $ QTJSC/gcProtect(5c2ac18db087b3e6).(m_valuecxx . . $ QTJSC/ProtectedJSValue#m_value.); |
| 174 | } |
| 175 | |
| 176 | inline ProtectedJSValuecxx . . $ QTJSC/ProtectedJSValue#& ProtectedJSValuecxx . . $ QTJSC/ProtectedJSValue#::operatorcxx . . $ QTJSC/ProtectedJSValue#`operator=`(bf931e11c8f00d95).=(const ProtectedJSValuecxx . . $ QTJSC/ProtectedJSValue#& o) |
| 177 | { |
| 178 | JSValuecxx . . $ QTJSC/JSValue# ovalue = o.m_valuecxx . . $ QTJSC/ProtectedJSValue#m_value.; |
| 179 | gcProtectcxx . . $ QTJSC/gcProtect(5c2ac18db087b3e6).(ovalue); |
| 180 | gcUnprotectcxx . . $ QTJSC/gcUnprotect(5c2ac18db087b3e6).(m_valuecxx . . $ QTJSC/ProtectedJSValue#m_value.); |
| 181 | m_valuecxx . . $ QTJSC/ProtectedJSValue#m_value. =cxx . . $ QTJSC/JSValue#`operator=`(af0e8a528f82a1b5). ovalue; |
| 182 | return *this; |
| 183 | } |
| 184 | |
| 185 | inline ProtectedJSValuecxx . . $ QTJSC/ProtectedJSValue#& ProtectedJSValuecxx . . $ QTJSC/ProtectedJSValue#::operatorcxx . . $ QTJSC/ProtectedJSValue#`operator=`(4cfd92ff8ea9786b).=(JSValuecxx . . $ QTJSC/JSValue# ovalue) |
| 186 | { |
| 187 | gcProtectcxx . . $ QTJSC/gcProtect(5c2ac18db087b3e6).(ovalue); |
| 188 | gcUnprotectcxx . . $ QTJSC/gcUnprotect(5c2ac18db087b3e6).(m_valuecxx . . $ QTJSC/ProtectedJSValue#m_value.); |
| 189 | m_valuecxx . . $ QTJSC/ProtectedJSValue#m_value. =cxx . . $ QTJSC/JSValue#`operator=`(af0e8a528f82a1b5). ovalue; |
| 190 | return *this; |
| 191 | } |
| 192 | |
| 193 | template <class T> inline bool operatorcxx . . $ QTJSC/`operator==`(8de095a508b7a893).==(const ProtectedPtrcxx . . $ QTJSC/ProtectedPtr#<T>& a, const ProtectedPtrcxx . . $ QTJSC/ProtectedPtr#<T>& b) { return a.getcxx . . $ QTJSC/ProtectedPtr#get(5a2a78a048fb49a8).() ==cxx . . $ QTJSC/`operator==`(8de095a508b7a893). b.getcxx . . $ QTJSC/ProtectedPtr#get(5a2a78a048fb49a8).(); } |
| 194 | template <class T> inline bool operatorcxx . . $ QTJSC/`operator==`(c411ccca4fa1792).==(const ProtectedPtrcxx . . $ QTJSC/ProtectedPtr#<T>& a, const T* b) { return a.getcxx . . $ QTJSC/ProtectedPtr#get(5a2a78a048fb49a8).() ==cxx . . $ QTJSC/`operator==`(c411ccca4fa1792). b; } |
| 195 | template <class T> inline bool operatorcxx . . $ QTJSC/`operator==`(38b530dfd324fb30).==(const T* a, const ProtectedPtrcxx . . $ QTJSC/ProtectedPtr#<T>& b) { return a ==cxx . . $ QTJSC/`operator==`(38b530dfd324fb30). b.getcxx . . $ QTJSC/ProtectedPtr#get(5a2a78a048fb49a8).(); } |
| 196 | |
| 197 | template <class T> inline bool operatorcxx . . $ QTJSC/`operator!=`(8de095a508b7a893).!=(const ProtectedPtrcxx . . $ QTJSC/ProtectedPtr#<T>& a, const ProtectedPtrcxx . . $ QTJSC/ProtectedPtr#<T>& b) { return a.getcxx . . $ QTJSC/ProtectedPtr#get(5a2a78a048fb49a8).() !=cxx . . $ QTJSC/`operator!=`(8de095a508b7a893). b.getcxx . . $ QTJSC/ProtectedPtr#get(5a2a78a048fb49a8).(); } |
| 198 | template <class T> inline bool operatorcxx . . $ QTJSC/`operator!=`(c411ccca4fa1792).!=(const ProtectedPtrcxx . . $ QTJSC/ProtectedPtr#<T>& a, const T* b) { return a.getcxx . . $ QTJSC/ProtectedPtr#get(5a2a78a048fb49a8).() !=cxx . . $ QTJSC/`operator!=`(c411ccca4fa1792). b; } |
| 199 | template <class T> inline bool operatorcxx . . $ QTJSC/`operator!=`(38b530dfd324fb30).!=(const T* a, const ProtectedPtrcxx . . $ QTJSC/ProtectedPtr#<T>& b) { return a !=cxx . . $ QTJSC/`operator!=`(38b530dfd324fb30). b.getcxx . . $ QTJSC/ProtectedPtr#get(5a2a78a048fb49a8).(); } |
| 200 | |
| 201 | inline bool operatorcxx . . $ QTJSC/`operator==`(bc6534faf07112b1).==(const ProtectedJSValuecxx . . $ QTJSC/ProtectedJSValue#& a, const ProtectedJSValuecxx . . $ QTJSC/ProtectedJSValue#& b) { return a.getcxx . . $ QTJSC/ProtectedJSValue#get(888c053acf364da1).() ==cxx . . $ QTJSC/JSValue#`operator==`(b7c0ea8ebb120a64). b.getcxx . . $ QTJSC/ProtectedJSValue#get(888c053acf364da1).(); } |
| 202 | inline bool operatorcxx . . $ QTJSC/`operator==`(198b2648a7403c18).==(const ProtectedJSValuecxx . . $ QTJSC/ProtectedJSValue#& a, const JSValuecxx . . $ QTJSC/JSValue# b) { return a.getcxx . . $ QTJSC/ProtectedJSValue#get(888c053acf364da1).() ==cxx . . $ QTJSC/JSValue#`operator==`(b7c0ea8ebb120a64). b; } |
| 203 | template <class T> inline bool operatorcxx . . $ QTJSC/`operator==`(c70f183144c5bb7d).==(const ProtectedJSValuecxx . . $ QTJSC/ProtectedJSValue#& a, const ProtectedPtrcxx . . $ QTJSC/ProtectedPtr#<T>& b) { return a.getcxx . . $ QTJSC/ProtectedJSValue#get(888c053acf364da1).() ==cxx . . $ QTJSC/JSValue#`operator==`(b7c0ea8ebb120a64). JSValuecxx . . $ QTJSC/JSValue#(b.getcxx . . $ QTJSC/ProtectedPtr#get(5a2a78a048fb49a8).()); } |
| 204 | inline bool operatorcxx . . $ QTJSC/`operator==`(2d6402f246dcc5e5).==(const JSValuecxx . . $ QTJSC/JSValue# a, const ProtectedJSValuecxx . . $ QTJSC/ProtectedJSValue#& b) { return a ==cxx . . $ QTJSC/JSValue#`operator==`(b7c0ea8ebb120a64). b.getcxx . . $ QTJSC/ProtectedJSValue#get(888c053acf364da1).(); } |
| 205 | template <class T> inline bool operatorcxx . . $ QTJSC/`operator==`(8ad6c75c472a8683).==(const ProtectedPtrcxx . . $ QTJSC/ProtectedPtr#<T>& a, const ProtectedJSValuecxx . . $ QTJSC/ProtectedJSValue#& b) { return JSValuecxx . . $ QTJSC/JSValue#(a.getcxx . . $ QTJSC/ProtectedPtr#get(5a2a78a048fb49a8).()) ==cxx . . $ QTJSC/JSValue#`operator==`(b7c0ea8ebb120a64). b.getcxx . . $ QTJSC/ProtectedJSValue#get(888c053acf364da1).(); } |
| 206 | |
| 207 | inline bool operatorcxx . . $ QTJSC/`operator!=`(bc6534faf07112b1).!=(const ProtectedJSValuecxx . . $ QTJSC/ProtectedJSValue#& a, const ProtectedJSValuecxx . . $ QTJSC/ProtectedJSValue#& b) { return a.getcxx . . $ QTJSC/ProtectedJSValue#get(888c053acf364da1).() !=cxx . . $ QTJSC/JSValue#`operator!=`(b7c0ea8ebb120a64). b.getcxx . . $ QTJSC/ProtectedJSValue#get(888c053acf364da1).(); } |
| 208 | inline bool operatorcxx . . $ QTJSC/`operator!=`(198b2648a7403c18).!=(const ProtectedJSValuecxx . . $ QTJSC/ProtectedJSValue#& a, const JSValuecxx . . $ QTJSC/JSValue# b) { return a.getcxx . . $ QTJSC/ProtectedJSValue#get(888c053acf364da1).() !=cxx . . $ QTJSC/JSValue#`operator!=`(b7c0ea8ebb120a64). b; } |
| 209 | template <class T> inline bool operatorcxx . . $ QTJSC/`operator!=`(c70f183144c5bb7d).!=(const ProtectedJSValuecxx . . $ QTJSC/ProtectedJSValue#& a, const ProtectedPtrcxx . . $ QTJSC/ProtectedPtr#<T>& b) { return a.getcxx . . $ QTJSC/ProtectedJSValue#get(888c053acf364da1).() !=cxx . . $ QTJSC/JSValue#`operator!=`(b7c0ea8ebb120a64). JSValuecxx . . $ QTJSC/JSValue#(b.getcxx . . $ QTJSC/ProtectedPtr#get(5a2a78a048fb49a8).()); } |
| 210 | inline bool operatorcxx . . $ QTJSC/`operator!=`(2d6402f246dcc5e5).!=(const JSValuecxx . . $ QTJSC/JSValue# a, const ProtectedJSValuecxx . . $ QTJSC/ProtectedJSValue#& b) { return a !=cxx . . $ QTJSC/JSValue#`operator!=`(b7c0ea8ebb120a64). b.getcxx . . $ QTJSC/ProtectedJSValue#get(888c053acf364da1).(); } |
| 211 | template <class T> inline bool operatorcxx . . $ QTJSC/`operator!=`(8ad6c75c472a8683).!=(const ProtectedPtrcxx . . $ QTJSC/ProtectedPtr#<T>& a, const ProtectedJSValuecxx . . $ QTJSC/ProtectedJSValue#& b) { return JSValuecxx . . $ QTJSC/JSValue#(a.getcxx . . $ QTJSC/ProtectedPtr#get(5a2a78a048fb49a8).()) !=cxx . . $ QTJSC/JSValue#`operator!=`(b7c0ea8ebb120a64). b.getcxx . . $ QTJSC/ProtectedJSValue#get(888c053acf364da1).(); } |
| 212 | |
| 213 | } // namespace JSC |
| 214 | |
| 215 | #endif // Protect_h |