OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 398 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
409 Handle<Object> buffer, | 409 Handle<Object> buffer, |
410 ExternalArrayType type, | 410 ExternalArrayType type, |
411 int32_t length, | 411 int32_t length, |
412 int32_t byteLength, | 412 int32_t byteLength, |
413 int32_t byteOffset, | 413 int32_t byteOffset, |
414 int32_t element_size); | 414 int32_t element_size); |
415 static Handle<Value> CreateExternalArray(const Arguments& args, | 415 static Handle<Value> CreateExternalArray(const Arguments& args, |
416 ExternalArrayType type, | 416 ExternalArrayType type, |
417 int32_t element_size); | 417 int32_t element_size); |
418 static void ExternalArrayWeakCallback(Isolate* isolate, | 418 static void ExternalArrayWeakCallback(Isolate* isolate, |
419 Persistent<Value> object, | 419 Persistent<Object>* object, |
420 void* data); | 420 uint8_t* data); |
421 }; | 421 }; |
422 | 422 |
423 | 423 |
424 } // namespace v8 | 424 } // namespace v8 |
425 | 425 |
426 | 426 |
427 #endif // V8_D8_H_ | 427 #endif // V8_D8_H_ |
OLD | NEW |