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 1417 matching lines...) Loading... |
1428 DontDelete = 1 << 2 | 1428 DontDelete = 1 << 2 |
1429 }; | 1429 }; |
1430 | 1430 |
1431 enum ExternalArrayType { | 1431 enum ExternalArrayType { |
1432 kExternalByteArray = 1, | 1432 kExternalByteArray = 1, |
1433 kExternalUnsignedByteArray, | 1433 kExternalUnsignedByteArray, |
1434 kExternalShortArray, | 1434 kExternalShortArray, |
1435 kExternalUnsignedShortArray, | 1435 kExternalUnsignedShortArray, |
1436 kExternalIntArray, | 1436 kExternalIntArray, |
1437 kExternalUnsignedIntArray, | 1437 kExternalUnsignedIntArray, |
1438 kExternalFloatArray | 1438 kExternalFloatArray, |
| 1439 kExternalPixelArray |
1439 }; | 1440 }; |
1440 | 1441 |
1441 /** | 1442 /** |
1442 * Accessor[Getter|Setter] are used as callback functions when | 1443 * Accessor[Getter|Setter] are used as callback functions when |
1443 * setting|getting a particular property. See Object and ObjectTemplate's | 1444 * setting|getting a particular property. See Object and ObjectTemplate's |
1444 * method SetAccessor. | 1445 * method SetAccessor. |
1445 */ | 1446 */ |
1446 typedef Handle<Value> (*AccessorGetter)(Local<String> property, | 1447 typedef Handle<Value> (*AccessorGetter)(Local<String> property, |
1447 const AccessorInfo& info); | 1448 const AccessorInfo& info); |
1448 | 1449 |
(...skipping 2388 matching lines...) Loading... |
3837 | 3838 |
3838 | 3839 |
3839 } // namespace v8 | 3840 } // namespace v8 |
3840 | 3841 |
3841 | 3842 |
3842 #undef V8EXPORT | 3843 #undef V8EXPORT |
3843 #undef TYPE_CHECK | 3844 #undef TYPE_CHECK |
3844 | 3845 |
3845 | 3846 |
3846 #endif // V8_H_ | 3847 #endif // V8_H_ |
OLD | NEW |