summaryrefslogtreecommitdiff
path: root/src/js.h
diff options
context:
space:
mode:
authorportix <none@none>2012-09-19 01:40:28 +0200
committerportix <none@none>2012-09-19 01:40:28 +0200
commitaa6745301d8dcd1a8bdeaa4dc649f1be9f9a8437 (patch)
tree79c37913b9ea35944b490021f516238f409f2f11 /src/js.h
parent3e6ba3478f1200df7d7cd5ccd57728e3f5122be9 (diff)
downloaddwb-aa6745301d8dcd1a8bdeaa4dc649f1be9f9a8437.zip
implementing scratchpad_show/scratchpad_hide
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 a51cb911..2edf79a3 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);