compat.h   compat.h 
skipping to change at line 58 skipping to change at line 58
uintN argc, \ uintN argc, \
jsval *vp) jsval *vp)
/** /**
* GJS_NATIVE_CONSTRUCTOR_VARIABLES: * GJS_NATIVE_CONSTRUCTOR_VARIABLES:
* Declare variables necessary for the constructor; should * Declare variables necessary for the constructor; should
* be at the very top. * be at the very top.
*/ */
#define GJS_NATIVE_CONSTRUCTOR_VARIABLES(name) \ #define GJS_NATIVE_CONSTRUCTOR_VARIABLES(name) \
JSObject *object = NULL; \ JSObject *object = NULL; \
jsval *argv = JS_ARGV(context, vp); jsval *argv G_GNUC_UNUSED = JS_ARGV(context, vp);
/** /**
* GJS_NATIVE_CONSTRUCTOR_PRELUDE: * GJS_NATIVE_CONSTRUCTOR_PRELUDE:
* Call after the initial variable declaration. * Call after the initial variable declaration.
*/ */
#define GJS_NATIVE_CONSTRUCTOR_PRELUDE(name) \ #define GJS_NATIVE_CONSTRUCTOR_PRELUDE(name) \
{ \ { \
if (!JS_IsConstructing(context, vp)) { \ if (!JS_IsConstructing(context, vp)) { \
gjs_throw_constructor_error(context); \ gjs_throw_constructor_error(context); \
return JS_FALSE; \ return JS_FALSE; \
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added


 mem.h   mem.h 
skipping to change at line 58 skipping to change at line 58
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)
GJS_DECLARE_COUNTER(weakhash) GJS_DECLARE_COUNTER(weakhash)
GJS_DECLARE_COUNTER(interface)
#define GJS_INC_COUNTER(name) \ #define GJS_INC_COUNTER(name) \
do { \ do { \
gjs_counter_everything.value += 1; \ gjs_counter_everything.value += 1; \
gjs_counter_ ## name .value += 1; \ gjs_counter_ ## name .value += 1; \
} while (0) } while (0)
#define GJS_DEC_COUNTER(name) \ #define GJS_DEC_COUNTER(name) \
do { \ do { \
gjs_counter_everything.value -= 1; \ gjs_counter_everything.value -= 1; \
 End of changes. 1 change blocks. 
0 lines changed or deleted 1 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/