Align cgen's private_impl.placeholder

This commit is contained in:
Nigel Tao committed 2019-01-26 09:28:50 +11:00
1 parent f4c5d953ec
commit 89fef4cf5f
2 files changed
+39 -8

No files matched your search

+35 -7
View File
@@ -2308,10 +2308,14 @@ struct wuffs_adler32__hasher__struct {
// Even when WUFFS_IMPLEMENTATION is not defined, the outermost struct still
// defines C++ convenience methods. These methods forward on "this", so that
// you can write "bar->baz(etc)" instead of "wuffs_foo__bar__baz(bar, etc)".
struct {
private:
union {
uint32_t align_as_per_magic_field;
uint8_t placeholder[1073741824]; // 1 GiB.
} private_impl;
public:
#endif // WUFFS_IMPLEMENTATION
#ifdef __cplusplus
@@ -2414,10 +2418,14 @@ struct wuffs_crc32__ieee_hasher__struct {
// Even when WUFFS_IMPLEMENTATION is not defined, the outermost struct still
// defines C++ convenience methods. These methods forward on "this", so that
// you can write "bar->baz(etc)" instead of "wuffs_foo__bar__baz(bar, etc)".
struct {
private:
union {
uint32_t align_as_per_magic_field;
uint8_t placeholder[1073741824]; // 1 GiB.
} private_impl;
public:
#endif // WUFFS_IMPLEMENTATION
#ifdef __cplusplus
@@ -2584,10 +2592,14 @@ struct wuffs_deflate__decoder__struct {
// Even when WUFFS_IMPLEMENTATION is not defined, the outermost struct still
// defines C++ convenience methods. These methods forward on "this", so that
// you can write "bar->baz(etc)" instead of "wuffs_foo__bar__baz(bar, etc)".
struct {
private:
union {
uint32_t align_as_per_magic_field;
uint8_t placeholder[1073741824]; // 1 GiB.
} private_impl;
public:
#endif // WUFFS_IMPLEMENTATION
#ifdef __cplusplus
@@ -2721,10 +2733,14 @@ struct wuffs_lzw__decoder__struct {
// Even when WUFFS_IMPLEMENTATION is not defined, the outermost struct still
// defines C++ convenience methods. These methods forward on "this", so that
// you can write "bar->baz(etc)" instead of "wuffs_foo__bar__baz(bar, etc)".
struct {
private:
union {
uint32_t align_as_per_magic_field;
uint8_t placeholder[1073741824]; // 1 GiB.
} private_impl;
public:
#endif // WUFFS_IMPLEMENTATION
#ifdef __cplusplus
@@ -2973,10 +2989,14 @@ struct wuffs_gif__decoder__struct {
// Even when WUFFS_IMPLEMENTATION is not defined, the outermost struct still
// defines C++ convenience methods. These methods forward on "this", so that
// you can write "bar->baz(etc)" instead of "wuffs_foo__bar__baz(bar, etc)".
struct {
private:
union {
uint32_t align_as_per_magic_field;
uint8_t placeholder[1073741824]; // 1 GiB.
} private_impl;
public:
#endif // WUFFS_IMPLEMENTATION
#ifdef __cplusplus
@@ -3144,10 +3164,14 @@ struct wuffs_gzip__decoder__struct {
// Even when WUFFS_IMPLEMENTATION is not defined, the outermost struct still
// defines C++ convenience methods. These methods forward on "this", so that
// you can write "bar->baz(etc)" instead of "wuffs_foo__bar__baz(bar, etc)".
struct {
private:
union {
uint32_t align_as_per_magic_field;
uint8_t placeholder[1073741824]; // 1 GiB.
} private_impl;
public:
#endif // WUFFS_IMPLEMENTATION
#ifdef __cplusplus
@@ -3271,10 +3295,14 @@ struct wuffs_zlib__decoder__struct {
// Even when WUFFS_IMPLEMENTATION is not defined, the outermost struct still
// defines C++ convenience methods. These methods forward on "this", so that
// you can write "bar->baz(etc)" instead of "wuffs_foo__bar__baz(bar, etc)".
struct {
private:
union {
uint32_t align_as_per_magic_field;
uint8_t placeholder[1073741824]; // 1 GiB.
} private_impl;
public:
#endif // WUFFS_IMPLEMENTATION
#ifdef __cplusplus