| 124 | //! Get a heap property |
| 125 | template <typename T> |
| 126 | bool GetProperty(const char *name, T *&out) const { |
| 127 | THeapData<T> *t = (THeapData<T> *)GetPropertyInternal(name); |
| 128 | if (!t) { |
| 129 | out = nullptr; |
| 130 | return false; |
| 131 | } |
| 132 | out = t->data; |
| 133 | return true; |
| 134 | } |
| 135 | |
| 136 | //! Get a static, by-value property |
| 137 | template <typename T> |
no outgoing calls