• Tim Janik's avatar
    removed the #pragma } statement after extern "C" {. use (c-set-offset · 43cc1dbf
    Tim Janik authored
    Wed Oct  7 05:31:24 1998  Tim Janik  <timj@gtk.org>
    
            * glib.h:
            removed the #pragma } statement after extern "C" {. use
            (c-set-offset 'inextern-lang 0) to fixup emacs cc-mode indentation.
    
            * glib.h:
            * ghook.c: API and code cleanups. changed the G_HOOK_ACTIVE and
            G_HOOK_IN_CALL enum vals to G_HOOK_FLAG_ACTIVE and G_HOOK_FLAG_IN_CALL.
            changed the G_HOOK_IS_ACTIVE() and G_HOOK_IS_IN_CALL() macros to
            G_HOOK_ACTIVE() and G_HOOK_IN_CALL().
            fixed the g_hook_find* functions, so they iterate over non-active
            hooks as well.
            (g_hook_first_valid):
            (g_hook_next_valid): added an extra argument gboolean may_be_in_call,
            which indicates whether G_HOOK_IN_CALL() hooks are considered valid
            or not. these two functions are meant as iterators for the hook list
            invocation, so they need to a) provide functionality to implement
            may_recurse bahaviour and b) only walk active hooks.
    43cc1dbf
ghook.c 12 KB