Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(97)

Side by Side Diff: include/v8.h

Issue 245024: API: added a few missing HandleScope-s. (Closed)
Patch Set: Created 11 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | src/api.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2007-2008 the V8 project authors. All rights reserved. 1 // Copyright 2007-2008 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 1187 matching lines...) Expand 10 before | Expand all | Expand 10 after
1198 1198
1199 // Testers for local properties. 1199 // Testers for local properties.
1200 bool HasRealNamedProperty(Handle<String> key); 1200 bool HasRealNamedProperty(Handle<String> key);
1201 bool HasRealIndexedProperty(uint32_t index); 1201 bool HasRealIndexedProperty(uint32_t index);
1202 bool HasRealNamedCallbackProperty(Handle<String> key); 1202 bool HasRealNamedCallbackProperty(Handle<String> key);
1203 1203
1204 /** 1204 /**
1205 * If result.IsEmpty() no real property was located in the prototype chain. 1205 * If result.IsEmpty() no real property was located in the prototype chain.
1206 * This means interceptors in the prototype chain are not called. 1206 * This means interceptors in the prototype chain are not called.
1207 */ 1207 */
1208 Handle<Value> GetRealNamedPropertyInPrototypeChain(Handle<String> key); 1208 Local<Value> GetRealNamedPropertyInPrototypeChain(Handle<String> key);
1209 1209
1210 /** 1210 /**
1211 * If result.IsEmpty() no real property was located on the object or 1211 * If result.IsEmpty() no real property was located on the object or
1212 * in the prototype chain. 1212 * in the prototype chain.
1213 * This means interceptors in the prototype chain are not called. 1213 * This means interceptors in the prototype chain are not called.
1214 */ 1214 */
1215 Handle<Value> GetRealNamedProperty(Handle<String> key); 1215 Local<Value> GetRealNamedProperty(Handle<String> key);
1216 1216
1217 /** Tests for a named lookup interceptor.*/ 1217 /** Tests for a named lookup interceptor.*/
1218 bool HasNamedLookupInterceptor(); 1218 bool HasNamedLookupInterceptor();
1219 1219
1220 /** Tests for an index lookup interceptor.*/ 1220 /** Tests for an index lookup interceptor.*/
1221 bool HasIndexedLookupInterceptor(); 1221 bool HasIndexedLookupInterceptor();
1222 1222
1223 /** 1223 /**
1224 * Turns on access check on the object if the object is an instance of 1224 * Turns on access check on the object if the object is an instance of
1225 * a template that has access check callbacks. If an object has no 1225 * a template that has access check callbacks. If an object has no
(...skipping 1870 matching lines...) Expand 10 before | Expand all | Expand 10 after
3096 3096
3097 } // namespace v8 3097 } // namespace v8
3098 3098
3099 3099
3100 #undef V8EXPORT 3100 #undef V8EXPORT
3101 #undef V8EXPORT_INLINE 3101 #undef V8EXPORT_INLINE
3102 #undef TYPE_CHECK 3102 #undef TYPE_CHECK
3103 3103
3104 3104
3105 #endif // V8_H_ 3105 #endif // V8_H_
OLDNEW
« no previous file with comments | « no previous file | src/api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698