mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-27 17:52:58 +02:00
added padding.
Sun Mar 3 02:30:05 2002 Tim Janik <timj@gtk.org> * glib/gscanner.h (_GScannerConfig): added padding. * glib/ghook.h (struct _GHook): add two padding pointers.
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
Sun Mar 3 02:30:05 2002 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
|
* glib/gscanner.h (_GScannerConfig): added padding.
|
||||||
|
|
||||||
|
* glib/ghook.h (struct _GHook): add two padding pointers.
|
||||||
|
|
||||||
Thu Feb 28 11:13:49 2002 Owen Taylor <otaylor@redhat.com>
|
Thu Feb 28 11:13:49 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* glib/gshell.c (g_shell_unquote): Fix memory leak.
|
* glib/gshell.c (g_shell_unquote): Fix memory leak.
|
||||||
|
@@ -1,3 +1,9 @@
|
|||||||
|
Sun Mar 3 02:30:05 2002 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
|
* glib/gscanner.h (_GScannerConfig): added padding.
|
||||||
|
|
||||||
|
* glib/ghook.h (struct _GHook): add two padding pointers.
|
||||||
|
|
||||||
Thu Feb 28 11:13:49 2002 Owen Taylor <otaylor@redhat.com>
|
Thu Feb 28 11:13:49 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* glib/gshell.c (g_shell_unquote): Fix memory leak.
|
* glib/gshell.c (g_shell_unquote): Fix memory leak.
|
||||||
|
@@ -1,3 +1,9 @@
|
|||||||
|
Sun Mar 3 02:30:05 2002 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
|
* glib/gscanner.h (_GScannerConfig): added padding.
|
||||||
|
|
||||||
|
* glib/ghook.h (struct _GHook): add two padding pointers.
|
||||||
|
|
||||||
Thu Feb 28 11:13:49 2002 Owen Taylor <otaylor@redhat.com>
|
Thu Feb 28 11:13:49 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* glib/gshell.c (g_shell_unquote): Fix memory leak.
|
* glib/gshell.c (g_shell_unquote): Fix memory leak.
|
||||||
|
@@ -1,3 +1,9 @@
|
|||||||
|
Sun Mar 3 02:30:05 2002 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
|
* glib/gscanner.h (_GScannerConfig): added padding.
|
||||||
|
|
||||||
|
* glib/ghook.h (struct _GHook): add two padding pointers.
|
||||||
|
|
||||||
Thu Feb 28 11:13:49 2002 Owen Taylor <otaylor@redhat.com>
|
Thu Feb 28 11:13:49 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* glib/gshell.c (g_shell_unquote): Fix memory leak.
|
* glib/gshell.c (g_shell_unquote): Fix memory leak.
|
||||||
|
@@ -1,3 +1,9 @@
|
|||||||
|
Sun Mar 3 02:30:05 2002 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
|
* glib/gscanner.h (_GScannerConfig): added padding.
|
||||||
|
|
||||||
|
* glib/ghook.h (struct _GHook): add two padding pointers.
|
||||||
|
|
||||||
Thu Feb 28 11:13:49 2002 Owen Taylor <otaylor@redhat.com>
|
Thu Feb 28 11:13:49 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* glib/gshell.c (g_shell_unquote): Fix memory leak.
|
* glib/gshell.c (g_shell_unquote): Fix memory leak.
|
||||||
|
@@ -1,3 +1,9 @@
|
|||||||
|
Sun Mar 3 02:30:05 2002 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
|
* glib/gscanner.h (_GScannerConfig): added padding.
|
||||||
|
|
||||||
|
* glib/ghook.h (struct _GHook): add two padding pointers.
|
||||||
|
|
||||||
Thu Feb 28 11:13:49 2002 Owen Taylor <otaylor@redhat.com>
|
Thu Feb 28 11:13:49 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* glib/gshell.c (g_shell_unquote): Fix memory leak.
|
* glib/gshell.c (g_shell_unquote): Fix memory leak.
|
||||||
|
@@ -1,3 +1,9 @@
|
|||||||
|
Sun Mar 3 02:30:05 2002 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
|
* glib/gscanner.h (_GScannerConfig): added padding.
|
||||||
|
|
||||||
|
* glib/ghook.h (struct _GHook): add two padding pointers.
|
||||||
|
|
||||||
Thu Feb 28 11:13:49 2002 Owen Taylor <otaylor@redhat.com>
|
Thu Feb 28 11:13:49 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* glib/gshell.c (g_shell_unquote): Fix memory leak.
|
* glib/gshell.c (g_shell_unquote): Fix memory leak.
|
||||||
|
@@ -1,3 +1,9 @@
|
|||||||
|
Sun Mar 3 02:30:05 2002 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
|
* glib/gscanner.h (_GScannerConfig): added padding.
|
||||||
|
|
||||||
|
* glib/ghook.h (struct _GHook): add two padding pointers.
|
||||||
|
|
||||||
Thu Feb 28 11:13:49 2002 Owen Taylor <otaylor@redhat.com>
|
Thu Feb 28 11:13:49 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* glib/gshell.c (g_shell_unquote): Fix memory leak.
|
* glib/gshell.c (g_shell_unquote): Fix memory leak.
|
||||||
|
@@ -30,6 +30,7 @@ list of hook functions.
|
|||||||
@hook_memchunk: the #GMemChunk used for allocating the #GHook elements.
|
@hook_memchunk: the #GMemChunk used for allocating the #GHook elements.
|
||||||
@finalize_hook: the function to call to finalize a #GHook element. The
|
@finalize_hook: the function to call to finalize a #GHook element. The
|
||||||
default behaviour is to call the hooks <function>destroy</function> function.
|
default behaviour is to call the hooks <function>destroy</function> function.
|
||||||
|
@dummy:
|
||||||
|
|
||||||
<!-- ##### USER_FUNCTION GHookFinalizeFunc ##### -->
|
<!-- ##### USER_FUNCTION GHookFinalizeFunc ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
@@ -214,6 +214,7 @@ is searched for in the default scope in addition to the current scope
|
|||||||
@char_2_token:
|
@char_2_token:
|
||||||
@symbol_2_token:
|
@symbol_2_token:
|
||||||
@scope_0_fallback:
|
@scope_0_fallback:
|
||||||
|
@padding_dummy:
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_scanner_input_file ##### -->
|
<!-- ##### FUNCTION g_scanner_input_file ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
@@ -69,6 +69,8 @@ g_hook_list_init (GHookList *hook_list,
|
|||||||
hook_size * G_HOOKS_PREALLOC,
|
hook_size * G_HOOKS_PREALLOC,
|
||||||
G_ALLOC_AND_FREE);
|
G_ALLOC_AND_FREE);
|
||||||
hook_list->finalize_hook = default_finalize_hook;
|
hook_list->finalize_hook = default_finalize_hook;
|
||||||
|
hook_list->dummy[0] = NULL;
|
||||||
|
hook_list->dummy[1] = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
@@ -66,6 +66,7 @@ struct _GHookList
|
|||||||
GHook *hooks;
|
GHook *hooks;
|
||||||
GMemChunk *hook_memchunk;
|
GMemChunk *hook_memchunk;
|
||||||
GHookFinalizeFunc finalize_hook;
|
GHookFinalizeFunc finalize_hook;
|
||||||
|
gpointer dummy[2];
|
||||||
};
|
};
|
||||||
struct _GHook
|
struct _GHook
|
||||||
{
|
{
|
||||||
|
@@ -154,6 +154,7 @@ struct _GScannerConfig
|
|||||||
guint char_2_token : 1; /* return G_TOKEN_CHAR? */
|
guint char_2_token : 1; /* return G_TOKEN_CHAR? */
|
||||||
guint symbol_2_token : 1;
|
guint symbol_2_token : 1;
|
||||||
guint scope_0_fallback : 1; /* try scope 0 on lookups? */
|
guint scope_0_fallback : 1; /* try scope 0 on lookups? */
|
||||||
|
guint padding_dummy;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct _GScanner
|
struct _GScanner
|
||||||
|
Reference in New Issue
Block a user