mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-18 14:48:53 +02:00
While we're off changing glib.h, correct some cosmetic nits. No changed
functionality. -Yosh
This commit is contained in:
4
glib.h
4
glib.h
@@ -134,7 +134,7 @@
|
|||||||
#endif /* G_CODE_GENERATION */
|
#endif /* G_CODE_GENERATION */
|
||||||
|
|
||||||
|
|
||||||
/* Provide simple macro statement wrappers (adapted from Pearl):
|
/* Provide simple macro statement wrappers (adapted from Perl):
|
||||||
* G_STMT_START { statements; } G_STMT_END;
|
* G_STMT_START { statements; } G_STMT_END;
|
||||||
* can be used as a single statement, as in
|
* can be used as a single statement, as in
|
||||||
* if (x) G_STMT_START { ... } G_STMT_END; else ...
|
* if (x) G_STMT_START { ... } G_STMT_END; else ...
|
||||||
@@ -180,7 +180,7 @@
|
|||||||
#endif /* !__GNUC__ */
|
#endif /* !__GNUC__ */
|
||||||
|
|
||||||
/* Hacker macro to place breakpoints for x86 machines.
|
/* Hacker macro to place breakpoints for x86 machines.
|
||||||
* Actuall use is strongly deprecated of course ;)
|
* Actual use is strongly deprecated of course ;)
|
||||||
*/
|
*/
|
||||||
#if defined (__i386__)
|
#if defined (__i386__)
|
||||||
#define G_BREAKPOINT() G_STMT_START{ __asm__ ("int $03"); }G_STMT_END
|
#define G_BREAKPOINT() G_STMT_START{ __asm__ ("int $03"); }G_STMT_END
|
||||||
|
@@ -134,7 +134,7 @@
|
|||||||
#endif /* G_CODE_GENERATION */
|
#endif /* G_CODE_GENERATION */
|
||||||
|
|
||||||
|
|
||||||
/* Provide simple macro statement wrappers (adapted from Pearl):
|
/* Provide simple macro statement wrappers (adapted from Perl):
|
||||||
* G_STMT_START { statements; } G_STMT_END;
|
* G_STMT_START { statements; } G_STMT_END;
|
||||||
* can be used as a single statement, as in
|
* can be used as a single statement, as in
|
||||||
* if (x) G_STMT_START { ... } G_STMT_END; else ...
|
* if (x) G_STMT_START { ... } G_STMT_END; else ...
|
||||||
@@ -180,7 +180,7 @@
|
|||||||
#endif /* !__GNUC__ */
|
#endif /* !__GNUC__ */
|
||||||
|
|
||||||
/* Hacker macro to place breakpoints for x86 machines.
|
/* Hacker macro to place breakpoints for x86 machines.
|
||||||
* Actuall use is strongly deprecated of course ;)
|
* Actual use is strongly deprecated of course ;)
|
||||||
*/
|
*/
|
||||||
#if defined (__i386__)
|
#if defined (__i386__)
|
||||||
#define G_BREAKPOINT() G_STMT_START{ __asm__ ("int $03"); }G_STMT_END
|
#define G_BREAKPOINT() G_STMT_START{ __asm__ ("int $03"); }G_STMT_END
|
||||||
|
Reference in New Issue
Block a user