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 386 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
397 Handle<Object> array, | 397 Handle<Object> array, |
398 Handle<Object> buffer, | 398 Handle<Object> buffer, |
399 ExternalArrayType type, | 399 ExternalArrayType type, |
400 int32_t length, | 400 int32_t length, |
401 int32_t byteLength, | 401 int32_t byteLength, |
402 int32_t byteOffset, | 402 int32_t byteOffset, |
403 int32_t element_size); | 403 int32_t element_size); |
404 static Handle<Value> CreateExternalArray(const Arguments& args, | 404 static Handle<Value> CreateExternalArray(const Arguments& args, |
405 ExternalArrayType type, | 405 ExternalArrayType type, |
406 int32_t element_size); | 406 int32_t element_size); |
407 static void ExternalArrayWeakCallback(Persistent<Value> object, void* data); | 407 static void ExternalArrayWeakCallback(Isolate* isolate, |
| 408 Persistent<Value> object, |
| 409 void* data); |
408 }; | 410 }; |
409 | 411 |
410 | 412 |
411 } // namespace v8 | 413 } // namespace v8 |
412 | 414 |
413 | 415 |
414 #endif // V8_D8_H_ | 416 #endif // V8_D8_H_ |
OLD | NEW |