OLD | NEW |
1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef V8_API_NATIVES_H_ | 5 #ifndef V8_API_NATIVES_H_ |
6 #define V8_API_NATIVES_H_ | 6 #define V8_API_NATIVES_H_ |
7 | 7 |
8 #include "src/handles.h" | 8 #include "src/handles.h" |
9 #include "src/property-details.h" | 9 #include "src/property-details.h" |
10 | 10 |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 | 42 |
43 static void AddDataProperty(Isolate* isolate, Handle<TemplateInfo> info, | 43 static void AddDataProperty(Isolate* isolate, Handle<TemplateInfo> info, |
44 Handle<Name> name, Handle<Object> value, | 44 Handle<Name> name, Handle<Object> value, |
45 PropertyAttributes attributes); | 45 PropertyAttributes attributes); |
46 | 46 |
47 static void AddDataProperty(Isolate* isolate, Handle<TemplateInfo> info, | 47 static void AddDataProperty(Isolate* isolate, Handle<TemplateInfo> info, |
48 Handle<Name> name, v8::Intrinsic intrinsic, | 48 Handle<Name> name, v8::Intrinsic intrinsic, |
49 PropertyAttributes attributes); | 49 PropertyAttributes attributes); |
50 | 50 |
51 static void AddAccessorProperty(Isolate* isolate, Handle<TemplateInfo> info, | 51 static void AddAccessorProperty(Isolate* isolate, Handle<TemplateInfo> info, |
52 Handle<Name> name, Handle<Object> getter, | 52 Handle<Name> name, |
53 Handle<Object> setter, | 53 Handle<FunctionTemplateInfo> getter, |
| 54 Handle<FunctionTemplateInfo> setter, |
54 PropertyAttributes attributes); | 55 PropertyAttributes attributes); |
55 | 56 |
56 static void AddNativeDataProperty(Isolate* isolate, Handle<TemplateInfo> info, | 57 static void AddNativeDataProperty(Isolate* isolate, Handle<TemplateInfo> info, |
57 Handle<AccessorInfo> property); | 58 Handle<AccessorInfo> property); |
58 }; | 59 }; |
59 | 60 |
60 } // namespace internal | 61 } // namespace internal |
61 } // namespace v8 | 62 } // namespace v8 |
62 | 63 |
63 #endif | 64 #endif |
OLD | NEW |