v8js_array_access.h 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /*
  2. +----------------------------------------------------------------------+
  3. | PHP Version 7 |
  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 v8js_array_access_getter(uint32_t index,
  16. const v8::PropertyCallbackInfo<v8::Value>& info);
  17. void v8js_array_access_setter(uint32_t index, v8::Local<v8::Value> value,
  18. const v8::PropertyCallbackInfo<v8::Value>& info);
  19. void v8js_array_access_enumerator(const v8::PropertyCallbackInfo<v8::Array>& info);
  20. void v8js_array_access_deleter(uint32_t index,
  21. const v8::PropertyCallbackInfo<v8::Boolean>& info);
  22. void v8js_array_access_query(uint32_t index,
  23. const v8::PropertyCallbackInfo<v8::Integer>& info);
  24. /* Named Property Handlers */
  25. void v8js_array_access_named_getter(v8::Local<v8::String> property,
  26. const v8::PropertyCallbackInfo<v8::Value> &info);
  27. #endif /* V8JS_ARRAY_ACCESS_H */
  28. /*
  29. * Local variables:
  30. * tab-width: 4
  31. * c-basic-offset: 4
  32. * indent-tabs-mode: t
  33. * End:
  34. * vim600: noet sw=4 ts=4 fdm=marker
  35. * vim<600: noet sw=4 ts=4
  36. */