| 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0
; | 52 static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0
; |
| 53 static inline void* toInternalPointer(TestObjectPython* impl) | 53 static inline void* toInternalPointer(TestObjectPython* impl) |
| 54 { | 54 { |
| 55 return impl; | 55 return impl; |
| 56 } | 56 } |
| 57 | 57 |
| 58 static inline TestObjectPython* fromInternalPointer(void* object) | 58 static inline TestObjectPython* fromInternalPointer(void* object) |
| 59 { | 59 { |
| 60 return static_cast<TestObjectPython*>(object); | 60 return static_cast<TestObjectPython*>(object); |
| 61 } | 61 } |
| 62 static void installPerContextProperties(v8::Handle<v8::Object>, TestObjectPy
thon*, v8::Isolate*) { } | 62 static void installPerContextEnabledProperties(v8::Handle<v8::Object>, TestO
bjectPython*, v8::Isolate*); |
| 63 static void installPerContextPrototypeProperties(v8::Handle<v8::Object>, v8:
:Isolate*) { } | 63 static void installPerContextEnabledPrototypeProperties(v8::Handle<v8::Objec
t>, v8::Isolate*) { } |
| 64 | 64 |
| 65 private: | 65 private: |
| 66 friend v8::Handle<v8::Object> wrap(TestObjectPython*, v8::Handle<v8::Object>
creationContext, v8::Isolate*); | 66 friend v8::Handle<v8::Object> wrap(TestObjectPython*, v8::Handle<v8::Object>
creationContext, v8::Isolate*); |
| 67 static v8::Handle<v8::Object> createWrapper(PassRefPtr<TestObjectPython>, v8
::Handle<v8::Object> creationContext, v8::Isolate*); | 67 static v8::Handle<v8::Object> createWrapper(PassRefPtr<TestObjectPython>, v8
::Handle<v8::Object> creationContext, v8::Isolate*); |
| 68 }; | 68 }; |
| 69 | 69 |
| 70 template<> | 70 template<> |
| 71 class WrapperTypeTraits<TestObjectPython > { | 71 class WrapperTypeTraits<TestObjectPython > { |
| 72 public: | 72 public: |
| 73 static WrapperTypeInfo* info() { return &V8TestObjectPython::info; } | 73 static WrapperTypeInfo* info() { return &V8TestObjectPython::info; } |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 149 | 149 |
| 150 template<class CallbackInfo, class Wrappable> | 150 template<class CallbackInfo, class Wrappable> |
| 151 inline void v8SetReturnValueFast(const CallbackInfo& callbackInfo, PassRefPtr<Te
stObjectPython > impl, Wrappable* wrappable) | 151 inline void v8SetReturnValueFast(const CallbackInfo& callbackInfo, PassRefPtr<Te
stObjectPython > impl, Wrappable* wrappable) |
| 152 { | 152 { |
| 153 v8SetReturnValueFast(callbackInfo, impl.get(), wrappable); | 153 v8SetReturnValueFast(callbackInfo, impl.get(), wrappable); |
| 154 } | 154 } |
| 155 | 155 |
| 156 } | 156 } |
| 157 | 157 |
| 158 #endif // V8TestObjectPython_h | 158 #endif // V8TestObjectPython_h |
| OLD | NEW |