mirror of
https://github.com/ToshioCP/Gtk4-tutorial.git
synced 2025-01-28 19:58:41 +01:00
Bug fixed (sec6).
This commit is contained in:
parent
ee6a19fe3a
commit
a8ff343e8a
2 changed files with 2 additions and 2 deletions
|
@ -159,7 +159,7 @@ char *s;
|
||||||
s = g_new (char, 10);
|
s = g_new (char, 10);
|
||||||
/* s points an array of char. The size of the array is 10. */
|
/* s points an array of char. The size of the array is 10. */
|
||||||
|
|
||||||
struct tuple (int x, int y) *t;
|
struct tuple {int x, y;} *t;
|
||||||
t = g_new (struct tuple, 5);
|
t = g_new (struct tuple, 5);
|
||||||
/* t points an array of struct tuple. */
|
/* t points an array of struct tuple. */
|
||||||
/* The size of the array is 5. */
|
/* The size of the array is 5. */
|
||||||
|
|
|
@ -157,7 +157,7 @@ char *s;
|
||||||
s = g_new (char, 10);
|
s = g_new (char, 10);
|
||||||
/* s points an array of char. The size of the array is 10. */
|
/* s points an array of char. The size of the array is 10. */
|
||||||
|
|
||||||
struct tuple (int x, int y) *t;
|
struct tuple {int x, y;} *t;
|
||||||
t = g_new (struct tuple, 5);
|
t = g_new (struct tuple, 5);
|
||||||
/* t points an array of struct tuple. */
|
/* t points an array of struct tuple. */
|
||||||
/* The size of the array is 5. */
|
/* The size of the array is 5. */
|
||||||
|
|
Loading…
Add table
Reference in a new issue