GNOME Bugzilla – Bug 761366
Fix build when verbose debug output is enabled
Last modified: 2016-02-10 17:57:27 UTC
Mostly this commit updates JSHandle* usage in debug statement to fix invalid use of incomplete type 'class JSObject': In 9daff9c4 the type of JSHandle* objects was changed but the debug statements were left as is. This commit fixes this oversight so GJS_DEBUG_OUTPUT can be used again. Other small fixes due to code rot were fixed. With this commit you can set all the GJS_VERBOSE_ENABLE macros to 1, recompile, unset GJS_DEBUG_TOPICS, and get all the verbose debug output from gjs.
Created attachment 320136 [details] [review] Fix build when verbose debug output is enabled
Review of attachment 320136 [details] [review]: Looks good, with one nit fixed. ::: gi/function.cpp @@ +1316,1 @@ JS_TypeOfValue(context, OBJECT_TO_JSVAL(object)))); Fix indentation of this line
Created attachment 320814 [details] [review] Fix build when verbose debug output is enabled Mostly this commit updates JSHandle* usage in debug statement to fix invalid use of incomplete type 'class JSObject': In 9daff9c4 the type of JSHandle* objects was changed but the debug statements were left as is. This commit fixes this oversight so GJS_DEBUG_OUTPUT can be used again. Other small fixes due to code rot were fixed. With this commit you can set all the GJS_VERBOSE_ENABLE macros to 1, recompile, unset GJS_DEBUG_TOPICS, and get all the verbose debug output from gjs.
Attachment 320814 [details] pushed as e999545 - Fix build when verbose debug output is enabled