Browse Source

Hide __attribute__ from doxygen

tags/v0.9.3
Michael Brown 19 years ago
parent
commit
75a90cb143
1 changed files with 11 additions and 1 deletions
  1. 11
    1
      src/include/compiler.h

+ 11
- 1
src/include/compiler.h View File

@@ -1,7 +1,17 @@
1 1
 #ifndef COMPILER_H
2 2
 #define COMPILER_H
3 3
 
4
-/* We export the symbol obj_OBJECT (OBJECT is defined on command-line)
4
+/*
5
+ * Doxygen can't cope with some of the more esoteric areas of C, so we
6
+ * make its life simpler.
7
+ *
8
+ */
9
+#ifdef DOXYGEN
10
+#define __attribute__(...)
11
+#endif
12
+
13
+/*
14
+ * We export the symbol obj_OBJECT (OBJECT is defined on command-line)
5 15
  * as a global symbol, so that the linker can drag in selected object
6 16
  * files from the library using -u obj_OBJECT.
7 17
  *

Loading…
Cancel
Save