diff options
Diffstat (limited to 'doc/README.developer')
-rw-r--r-- | doc/README.developer | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/doc/README.developer b/doc/README.developer index fdaee44876..60d4551b02 100644 --- a/doc/README.developer +++ b/doc/README.developer @@ -94,13 +94,6 @@ Don't declare variables in the middle of executable code; not all C compilers support that. Variables should be declared outside a function, or at the beginning of a function or compound statement. -Don't use "inline"; not all compilers support it. If you want to have a -function be an inline function if the compiler supports it, use -G_INLINE_FUNC, which is declared by <glib.h>. This may not work with -functions declared in header files; if it doesn't work, don't declare -the function in a header file, even if this requires that you not make -it inline on any platform. - Don't use anonymous unions; not all compilers support it. Example: typedef struct foo { guint32 foo; |