GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — node/src/node_persistent.h at master · zmmbreeze/node Expand file tree/ Copy pathnode_persistent.hMore file actions 30 lines (22 loc) · 936 Bytes / Copy pathnode_persistent.hFile metadata and controls30 lines (22 loc) · 936 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 #ifndef SRC_NODE_PERSISTENT_H_ #define SRC_NODE_PERSISTENT_H_ #if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS #include "v8.h" namespace node { template <typename T> struct ResetInDestructorPersistentTraits { static const bool kResetInDestructor = true; template <typename S, typename M> // Disallow copy semantics by leaving this unimplemented. inline static void Copy( const v8::Persistent<S, M>&, v8::Persistent<T, ResetInDestructorPersistentTraits<T>>*); }; // v8::Persistent does not reset the object slot in its destructor. That is // acknowledged as a flaw in the V8 API and expected to change in the future // but for now node::Persistent is the easier and safer alternative. template <typename T> using Persistent = v8::Persistent<T, ResetInDestructorPersistentTraits<T>>; } // namespace node #endif // defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS #endif // SRC_NODE_PERSISTENT_H_ |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |