| 7055 | |
| 7056 | template <typename T> |
| 7057 | inline Object Addon<T>::Init(Env env, Object exports) { |
| 7058 | T* addon = new T(env, exports); |
| 7059 | env.SetInstanceData(addon); |
| 7060 | return addon->entry_point_; |
| 7061 | } |
| 7062 | |
| 7063 | template <typename T> |
| 7064 | inline T* Addon<T>::Unwrap(Object wrapper) { |
nothing calls this directly
no test coverage detected