v8js_array_access.h 1.4 KB

123456789101112131415161718192021222324252627282930
  1. /*
  2. +----------------------------------------------------------------------+
  3. | PHP Version 5 |
  4. +----------------------------------------------------------------------+
  5. | Copyright (c) 1997-2013 The PHP Group |
  6. +----------------------------------------------------------------------+
  7. | http://www.opensource.org/licenses/mit-license.php MIT License |
  8. +----------------------------------------------------------------------+
  9. | Author: Stefan Siegl <[email protected]> |
  10. +----------------------------------------------------------------------+
  11. */
  12. #ifndef V8JS_ARRAY_ACCESS_H
  13. #define V8JS_ARRAY_ACCESS_H
  14. /* Indexed Property Handlers */
  15. void php_v8js_array_access_getter(uint32_t index,
  16. const v8::PropertyCallbackInfo<v8::Value>& info);
  17. void php_v8js_array_access_setter(uint32_t index, v8::Local<v8::Value> value,
  18. const v8::PropertyCallbackInfo<v8::Value>& info);
  19. void php_v8js_array_access_length(v8::Local<v8::String> property,
  20. const v8::PropertyCallbackInfo<v8::Value>& info);
  21. void php_v8js_array_access_enumerator(const v8::PropertyCallbackInfo<v8::Array>& info);
  22. /* Named Property Handlers */
  23. void php_v8js_array_access_named_getter(v8::Local<v8::String> property,
  24. const v8::PropertyCallbackInfo<v8::Value> &info);
  25. #endif /* V8JS_ARRAY_ACCESS_H */