2014-11-29 14:42:41 +00:00
|
|
|
/*
|
|
|
|
+----------------------------------------------------------------------+
|
2017-03-11 11:33:49 +00:00
|
|
|
| PHP Version 7 |
|
2014-11-29 14:42:41 +00:00
|
|
|
+----------------------------------------------------------------------+
|
|
|
|
| Copyright (c) 1997-2013 The PHP Group |
|
|
|
|
+----------------------------------------------------------------------+
|
|
|
|
| http://www.opensource.org/licenses/mit-license.php MIT License |
|
|
|
|
+----------------------------------------------------------------------+
|
|
|
|
| Author: Jani Taskinen <jani.taskinen@iki.fi> |
|
|
|
|
| Author: Patrick Reilly <preilly@php.net> |
|
|
|
|
+----------------------------------------------------------------------+
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef V8JS_OBJECT_EXPORT_H
|
|
|
|
#define V8JS_OBJECT_EXPORT_H
|
|
|
|
|
2017-03-11 12:35:21 +00:00
|
|
|
v8::Local<v8::Value> v8js_hash_to_jsobj(zval *value, v8::Isolate *isolate);
|
2022-05-31 13:58:47 +00:00
|
|
|
v8::Local<v8::Value> v8js_propagate_exception(v8js_ctx *ctx);
|
2014-11-29 14:42:41 +00:00
|
|
|
|
2014-11-29 19:35:32 +00:00
|
|
|
|
|
|
|
typedef enum {
|
|
|
|
V8JS_PROP_GETTER,
|
|
|
|
V8JS_PROP_SETTER,
|
|
|
|
V8JS_PROP_QUERY,
|
|
|
|
V8JS_PROP_DELETER
|
|
|
|
} property_op_t;
|
|
|
|
|
2024-09-27 22:20:44 +00:00
|
|
|
v8::Local<v8::Value> v8js_named_property_callback(v8::Isolate *isolate, v8::Local<v8::Object> self,
|
|
|
|
v8::Local<v8::Name> property, property_op_t callback_type,
|
|
|
|
v8::Local<v8::Value> set_value = v8::Local<v8::Value>());
|
2014-11-29 19:35:32 +00:00
|
|
|
|
2016-01-08 14:42:43 +00:00
|
|
|
void v8js_php_callback(const v8::FunctionCallbackInfo<v8::Value>& info);
|
|
|
|
|
2014-11-29 14:42:41 +00:00
|
|
|
#endif /* V8JS_OBJECT_EXPORT_H */
|
2016-07-02 20:41:01 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Local variables:
|
|
|
|
* tab-width: 4
|
|
|
|
* c-basic-offset: 4
|
|
|
|
* indent-tabs-mode: t
|
|
|
|
* End:
|
|
|
|
* vim600: noet sw=4 ts=4 fdm=marker
|
|
|
|
* vim<600: noet sw=4 ts=4
|
|
|
|
*/
|