| OLD | NEW |
| 1 /* | 1 /* |
| 2 This file is part of the Blink open source project. | 2 This file is part of the Blink open source project. |
| 3 This file has been auto-generated by CodeGeneratorV8.pm. DO NOT MODIFY! | 3 This file has been auto-generated by CodeGeneratorV8.pm. DO NOT MODIFY! |
| 4 | 4 |
| 5 This library is free software; you can redistribute it and/or | 5 This library is free software; you can redistribute it and/or |
| 6 modify it under the terms of the GNU Library General Public | 6 modify it under the terms of the GNU Library General Public |
| 7 License as published by the Free Software Foundation; either | 7 License as published by the Free Software Foundation; either |
| 8 version 2 of the License, or (at your option) any later version. | 8 version 2 of the License, or (at your option) any later version. |
| 9 | 9 |
| 10 This library is distributed in the hope that it will be useful, | 10 This library is distributed in the hope that it will be useful, |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0
; | 49 static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0
; |
| 50 static inline void* toInternalPointer(TestNamedConstructor* impl) | 50 static inline void* toInternalPointer(TestNamedConstructor* impl) |
| 51 { | 51 { |
| 52 return impl; | 52 return impl; |
| 53 } | 53 } |
| 54 | 54 |
| 55 static inline TestNamedConstructor* fromInternalPointer(void* object) | 55 static inline TestNamedConstructor* fromInternalPointer(void* object) |
| 56 { | 56 { |
| 57 return static_cast<TestNamedConstructor*>(object); | 57 return static_cast<TestNamedConstructor*>(object); |
| 58 } | 58 } |
| 59 static void installPerContextProperties(v8::Handle<v8::Object>, TestNamedCon
structor*, v8::Isolate*) { } | 59 static void installPerContextEnabledProperties(v8::Handle<v8::Object>, TestN
amedConstructor*, v8::Isolate*) { } |
| 60 static void installPerContextPrototypeProperties(v8::Handle<v8::Object>, v8:
:Isolate*) { } | 60 static void installPerContextEnabledPrototypeProperties(v8::Handle<v8::Objec
t>, v8::Isolate*) { } |
| 61 | 61 |
| 62 private: | 62 private: |
| 63 friend v8::Handle<v8::Object> wrap(TestNamedConstructor*, v8::Handle<v8::Obj
ect> creationContext, v8::Isolate*); | 63 friend v8::Handle<v8::Object> wrap(TestNamedConstructor*, v8::Handle<v8::Obj
ect> creationContext, v8::Isolate*); |
| 64 static v8::Handle<v8::Object> createWrapper(PassRefPtr<TestNamedConstructor>
, v8::Handle<v8::Object> creationContext, v8::Isolate*); | 64 static v8::Handle<v8::Object> createWrapper(PassRefPtr<TestNamedConstructor>
, v8::Handle<v8::Object> creationContext, v8::Isolate*); |
| 65 }; | 65 }; |
| 66 | 66 |
| 67 template<> | 67 template<> |
| 68 class WrapperTypeTraits<TestNamedConstructor > { | 68 class WrapperTypeTraits<TestNamedConstructor > { |
| 69 public: | 69 public: |
| 70 static WrapperTypeInfo* info() { return &V8TestNamedConstructor::info; } | 70 static WrapperTypeInfo* info() { return &V8TestNamedConstructor::info; } |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 146 | 146 |
| 147 template<class CallbackInfo, class Wrappable> | 147 template<class CallbackInfo, class Wrappable> |
| 148 inline void v8SetReturnValueFast(const CallbackInfo& callbackInfo, PassRefPtr<Te
stNamedConstructor > impl, Wrappable* wrappable) | 148 inline void v8SetReturnValueFast(const CallbackInfo& callbackInfo, PassRefPtr<Te
stNamedConstructor > impl, Wrappable* wrappable) |
| 149 { | 149 { |
| 150 v8SetReturnValueFast(callbackInfo, impl.get(), wrappable); | 150 v8SetReturnValueFast(callbackInfo, impl.get(), wrappable); |
| 151 } | 151 } |
| 152 | 152 |
| 153 } | 153 } |
| 154 | 154 |
| 155 #endif // V8TestNamedConstructor_h | 155 #endif // V8TestNamedConstructor_h |
| OLD | NEW |