summaryrefslogtreecommitdiff
path: root/src/js.h
diff options
context:
space:
mode:
authorportix <portix@gmx.net>2012-09-30 10:58:49 +0200
committerportix <portix@gmx.net>2012-09-30 10:58:49 +0200
commitc07c1a6a5f76cca0861dad25823e2b61ffd5b941 (patch)
tree2236b6f79ea978e8d86230f1964830517fe3cad1 /src/js.h
parent3766f55ac54b228782f82e981416cc06f9b30bb8 (diff)
parent7d0376d67895abcddd7e540c61f458400c91e1a6 (diff)
downloaddwb-c07c1a6a5f76cca0861dad25823e2b61ffd5b941.zip
Automated merge with ssh://bitbucket.org/portix/dwb
Diffstat (limited to 'src/js.h')
-rw-r--r--src/js.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/js.h b/src/js.h
index 07a4cf58..a46ade58 100644
--- a/src/js.h
+++ b/src/js.h
@@ -23,6 +23,7 @@ void js_make_exception(JSContextRef ctx, JSValueRef *exception, const gchar *for
char * js_string_to_char(JSContextRef ctx, JSStringRef jsstring, size_t );
char * js_value_to_char(JSContextRef ctx, JSValueRef value, size_t limit, JSValueRef *);
JSObjectRef js_get_object_property(JSContextRef ctx, JSObjectRef arg, const char *name);
+void js_set_property(JSContextRef ctx, JSObjectRef arg, const char *name, JSValueRef value, JSClassAttributes attr, JSValueRef *);
void js_set_object_property(JSContextRef ctx, JSObjectRef arg, const char *name, const char *value, JSValueRef *);
void js_set_object_number_property(JSContextRef ctx, JSObjectRef arg, const char *name, gdouble value, JSValueRef *exc);
char * js_get_string_property(JSContextRef ctx, JSObjectRef arg, const char *name);