diff options
author | Tim Janik <timj@gtk.org> | 2002-03-03 03:15:10 +0000 |
---|---|---|
committer | Tim Janik <timj@src.gnome.org> | 2002-03-03 03:15:10 +0000 |
commit | c467e0fef2b3134566694823d72464bf51dd207c (patch) | |
tree | f7632ce389d8514534d5891400988b9387f86106 /glib | |
parent | d7dd9aefd8409f5dae6a05f22f166d6c4f19e95f (diff) | |
download | glib-c467e0fef2b3134566694823d72464bf51dd207c.tar.gz |
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.
Diffstat (limited to 'glib')
-rw-r--r-- | glib/ghook.c | 2 | ||||
-rw-r--r-- | glib/ghook.h | 1 | ||||
-rw-r--r-- | glib/gscanner.h | 1 |
3 files changed, 4 insertions, 0 deletions
diff --git a/glib/ghook.c b/glib/ghook.c index d04162fa1..d2b0fcdb4 100644 --- a/glib/ghook.c +++ b/glib/ghook.c @@ -69,6 +69,8 @@ g_hook_list_init (GHookList *hook_list, hook_size * G_HOOKS_PREALLOC, G_ALLOC_AND_FREE); hook_list->finalize_hook = default_finalize_hook; + hook_list->dummy[0] = NULL; + hook_list->dummy[1] = NULL; } void diff --git a/glib/ghook.h b/glib/ghook.h index e6bfb4614..1eb52e02b 100644 --- a/glib/ghook.h +++ b/glib/ghook.h @@ -66,6 +66,7 @@ struct _GHookList GHook *hooks; GMemChunk *hook_memchunk; GHookFinalizeFunc finalize_hook; + gpointer dummy[2]; }; struct _GHook { diff --git a/glib/gscanner.h b/glib/gscanner.h index 2d2062b98..f6b471d1d 100644 --- a/glib/gscanner.h +++ b/glib/gscanner.h @@ -154,6 +154,7 @@ struct _GScannerConfig guint char_2_token : 1; /* return G_TOKEN_CHAR? */ guint symbol_2_token : 1; guint scope_0_fallback : 1; /* try scope 0 on lookups? */ + guint padding_dummy; }; struct _GScanner |