closure.h | closure.h | |||
---|---|---|---|---|
skipping to change at line 35 | skipping to change at line 35 | |||
#define __GJS_CLOSURE_H__ | #define __GJS_CLOSURE_H__ | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <jsapi.h> | #include <jsapi.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
GClosure* gjs_closure_new (JSContext *context, | GClosure* gjs_closure_new (JSContext *context, | |||
JSObject *callable, | JSObject *callable, | |||
const char *description); | const char *description, | |||
gboolean root_function); | ||||
void gjs_closure_invoke (GClosure *closure, | void gjs_closure_invoke (GClosure *closure, | |||
int argc, | int argc, | |||
jsval *argv, | jsval *argv, | |||
jsval *retval); | jsval *retval); | |||
JSRuntime* gjs_closure_get_runtime (GClosure *closure); | JSRuntime* gjs_closure_get_runtime (GClosure *closure); | |||
gboolean gjs_closure_is_valid (GClosure *closure); | gboolean gjs_closure_is_valid (GClosure *closure); | |||
JSObject* gjs_closure_get_callable (GClosure *closure); | JSObject* gjs_closure_get_callable (GClosure *closure); | |||
void gjs_closure_trace (GClosure *closure, | ||||
JSTracer *tracer); | ||||
G_END_DECLS | G_END_DECLS | |||
#endif /* __GJS_CLOSURE_H__ */ | #endif /* __GJS_CLOSURE_H__ */ | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 5 lines changed or added | |||
context.h | context.h | |||
---|---|---|---|---|
skipping to change at line 71 | skipping to change at line 71 | |||
GError **error); | GError **error); | |||
gboolean gjs_context_define_string_array (GjsContext *js_context, | gboolean gjs_context_define_string_array (GjsContext *js_context, | |||
const char *array_name , | const char *array_name , | |||
gssize array_leng th, | gssize array_leng th, | |||
const char **array_valu es, | const char **array_valu es, | |||
GError **error); | GError **error); | |||
GList* gjs_context_get_all (void); | GList* gjs_context_get_all (void); | |||
void* gjs_context_get_native_context (GjsContext *js_context); | void* gjs_context_get_native_context (GjsContext *js_context); | |||
/* initial_frame is a JSStackFrame, but cannot be exposed as such in the | ||||
public API. Pass NULL to get the topmost frame. | ||||
*/ | ||||
void gjs_context_print_stack_to_buffer (GjsContext *js_context, | void gjs_context_print_stack_to_buffer (GjsContext *js_context, | |||
void *initial_fram e, | ||||
GString *buf); | GString *buf); | |||
void gjs_context_print_stack_stderr (GjsContext *js_context); | void gjs_context_print_stack_stderr (GjsContext *js_context); | |||
void gjs_context_maybe_gc (GjsContext *context); | void gjs_context_maybe_gc (GjsContext *context); | |||
void gjs_context_gc (GjsContext *context); | void gjs_context_gc (GjsContext *context); | |||
void gjs_dumpstack (void); | void gjs_dumpstack (void); | |||
End of changes. 2 change blocks. | ||||
0 lines changed or deleted | 4 lines changed or added | |||
enumeration.h | enumeration.h | |||
---|---|---|---|---|
skipping to change at line 35 | skipping to change at line 35 | |||
#define __GJS_ENUMERATION_H__ | #define __GJS_ENUMERATION_H__ | |||
#include <glib.h> | #include <glib.h> | |||
#include <jsapi.h> | #include <jsapi.h> | |||
#include <girepository.h> | #include <girepository.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
JSBool gjs_define_enum_values (JSContext *context, | ||||
JSObject *in_object, | ||||
GIEnumInfo *info); | ||||
JSBool gjs_define_enumeration (JSContext *context, | JSBool gjs_define_enumeration (JSContext *context, | |||
JSObject *in_object, | JSObject *in_object, | |||
GIEnumInfo *info, | GIEnumInfo *info, | |||
JSObject **enumeration_p); | JSObject **enumeration_p); | |||
JSObject* gjs_lookup_enumeration (JSContext *context, | JSObject* gjs_lookup_enumeration (JSContext *context, | |||
GIEnumInfo *info); | GIEnumInfo *info); | |||
G_END_DECLS | G_END_DECLS | |||
#endif /* __GJS_ENUMERATION_H__ */ | #endif /* __GJS_ENUMERATION_H__ */ | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 3 lines changed or added | |||
mem.h | mem.h | |||
---|---|---|---|---|
skipping to change at line 47 | skipping to change at line 47 | |||
int value; | int value; | |||
const char *name; | const char *name; | |||
} GjsMemCounter; | } GjsMemCounter; | |||
#define GJS_DECLARE_COUNTER(name) \ | #define GJS_DECLARE_COUNTER(name) \ | |||
extern GjsMemCounter gjs_counter_ ## name ; | extern GjsMemCounter gjs_counter_ ## name ; | |||
GJS_DECLARE_COUNTER(everything) | GJS_DECLARE_COUNTER(everything) | |||
GJS_DECLARE_COUNTER(boxed) | GJS_DECLARE_COUNTER(boxed) | |||
GJS_DECLARE_COUNTER(gerror) | ||||
GJS_DECLARE_COUNTER(closure) | GJS_DECLARE_COUNTER(closure) | |||
GJS_DECLARE_COUNTER(database) | GJS_DECLARE_COUNTER(database) | |||
GJS_DECLARE_COUNTER(dbus_exports) | GJS_DECLARE_COUNTER(dbus_exports) | |||
GJS_DECLARE_COUNTER(function) | GJS_DECLARE_COUNTER(function) | |||
GJS_DECLARE_COUNTER(importer) | GJS_DECLARE_COUNTER(importer) | |||
GJS_DECLARE_COUNTER(ns) | GJS_DECLARE_COUNTER(ns) | |||
GJS_DECLARE_COUNTER(object) | GJS_DECLARE_COUNTER(object) | |||
GJS_DECLARE_COUNTER(param) | GJS_DECLARE_COUNTER(param) | |||
GJS_DECLARE_COUNTER(repo) | GJS_DECLARE_COUNTER(repo) | |||
GJS_DECLARE_COUNTER(resultset) | GJS_DECLARE_COUNTER(resultset) | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 1 lines changed or added | |||