Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2007-2009 the V8 project authors. All rights reserved. | 1 // Copyright 2007-2009 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 1667 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1678 */ | 1678 */ |
| 1679 V8EXPORT void SetIndexedPropertiesToExternalArrayData( | 1679 V8EXPORT void SetIndexedPropertiesToExternalArrayData( |
| 1680 void* data, | 1680 void* data, |
| 1681 ExternalArrayType array_type, | 1681 ExternalArrayType array_type, |
| 1682 int number_of_elements); | 1682 int number_of_elements); |
| 1683 V8EXPORT bool HasIndexedPropertiesInExternalArrayData(); | 1683 V8EXPORT bool HasIndexedPropertiesInExternalArrayData(); |
| 1684 V8EXPORT void* GetIndexedPropertiesExternalArrayData(); | 1684 V8EXPORT void* GetIndexedPropertiesExternalArrayData(); |
| 1685 V8EXPORT ExternalArrayType GetIndexedPropertiesExternalArrayDataType(); | 1685 V8EXPORT ExternalArrayType GetIndexedPropertiesExternalArrayDataType(); |
| 1686 V8EXPORT int GetIndexedPropertiesExternalArrayDataLength(); | 1686 V8EXPORT int GetIndexedPropertiesExternalArrayDataLength(); |
| 1687 | 1687 |
| 1688 V8EXPORT Local<Value> Call(Handle<Object> recv, | |
|
Mads Ager (chromium)
2011/04/28 11:53:05
Please add a comment explaining when it makes sens
| |
| 1689 int argc, | |
| 1690 Handle<Value> argv[]); | |
| 1691 | |
| 1688 V8EXPORT static Local<Object> New(); | 1692 V8EXPORT static Local<Object> New(); |
| 1689 static inline Object* Cast(Value* obj); | 1693 static inline Object* Cast(Value* obj); |
| 1690 private: | 1694 private: |
| 1691 V8EXPORT Object(); | 1695 V8EXPORT Object(); |
| 1692 V8EXPORT static void CheckCast(Value* obj); | 1696 V8EXPORT static void CheckCast(Value* obj); |
| 1693 V8EXPORT Local<Value> CheckedGetInternalField(int index); | 1697 V8EXPORT Local<Value> CheckedGetInternalField(int index); |
| 1694 V8EXPORT void* SlowGetPointerFromInternalField(int index); | 1698 V8EXPORT void* SlowGetPointerFromInternalField(int index); |
| 1695 | 1699 |
| 1696 /** | 1700 /** |
| 1697 * If quick access to the internal field is possible this method | 1701 * If quick access to the internal field is possible this method |
| (...skipping 2293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 3991 | 3995 |
| 3992 | 3996 |
| 3993 } // namespace v8 | 3997 } // namespace v8 |
| 3994 | 3998 |
| 3995 | 3999 |
| 3996 #undef V8EXPORT | 4000 #undef V8EXPORT |
| 3997 #undef TYPE_CHECK | 4001 #undef TYPE_CHECK |
| 3998 | 4002 |
| 3999 | 4003 |
| 4000 #endif // V8_H_ | 4004 #endif // V8_H_ |
| OLD | NEW |