v8js_v8object_class.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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: Jani Taskinen <[email protected]> |
  10. | Author: Patrick Reilly <[email protected]> |
  11. +----------------------------------------------------------------------+
  12. */
  13. #ifndef V8JS_V8OBJECT_CLASS_H
  14. #define V8JS_V8OBJECT_CLASS_H
  15. /* {{{ Object container */
  16. struct v8js_v8object {
  17. zend_object std;
  18. v8::Persistent<v8::Value> v8obj;
  19. int flags;
  20. struct php_v8js_ctx *ctx;
  21. HashTable *properties;
  22. };
  23. /* }}} */
  24. extern zend_class_entry *php_ce_v8object;
  25. extern zend_class_entry *php_ce_v8function;
  26. PHP_MINIT_FUNCTION(v8js_v8object_class);
  27. #endif /* V8JS_V8OBJECT_CLASS_H */
  28. /*
  29. * Local variables:
  30. * tab-width: 4
  31. * c-basic-offset: 4
  32. * End:
  33. * vim600: noet sw=4 ts=4 fdm=marker
  34. * vim<600: noet sw=4 ts=4
  35. */