Explorar el Código

Hide __attribute__ from doxygen

tags/v0.9.3
Michael Brown hace 19 años
padre
commit
75a90cb143
Se han modificado 1 ficheros con 11 adiciones y 1 borrados
  1. 11
    1
      src/include/compiler.h

+ 11
- 1
src/include/compiler.h Ver fichero

@@ -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…
Cancelar
Guardar